mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Hide orphan request option for disowned package bases
If a package base is unmaintained, there is no need to file an orphan request. Hide the option from the front-end in this case. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
1626d4d2f7
commit
fb56ec9d1e
1 changed files with 2 additions and 0 deletions
|
@ -19,7 +19,9 @@
|
|||
<select name="type" id="id_type" onchange="showHideMergeSection()">
|
||||
<option value="deletion"><?= __('Deletion') ?></option>
|
||||
<option value="merge"><?= __('Merge') ?></option>
|
||||
<?php if (pkgbase_maintainer_uid($base_id)): ?>
|
||||
<option value="orphan"><?= __('Orphan') ?></option>
|
||||
<?php endif; ?>
|
||||
</select>
|
||||
</p>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
||||
|
|
Loading…
Add table
Reference in a new issue