Move adoption button to package actions box

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-07-17 21:32:12 +02:00
parent 4679e8ef5d
commit c87ae9d299
2 changed files with 13 additions and 7 deletions

View file

@ -25,13 +25,6 @@
<?php endif; ?>
<?php endif; ?>
<?php if ($row["MaintainerUID"] === NULL): ?>
<input type="submit" class="button" name="do_Adopt" value="<?php echo __("Adopt Packages") ?>" />
<?php elseif ($uid == $row["MaintainerUID"] ||
$atype == "Trusted User" || $atype == "Developer"): ?>
<input type="submit" class="button" name="do_Disown" value="<?php echo __("Disown Packages") ?>" />
<?php endif; ?>
<?php if ($atype == "Trusted User" || $atype == "Developer"): ?>
<input type="submit" class="button" name="do_Delete" value="<?php echo __("Delete Packages") ?>" />
<label for="merge_Into" ><?php echo __("Merge into") ?></label>