Commit fb56ec9d authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

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's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 1626d4d2
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment