mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow for merging deleted packages into existing ones
Merge all comments and votes of deleted packages into another package if the "Merge with" field is used. Duplicate votes (votes from a user who already voted on the target package or voted on more than one of the deleted packages) are discarded. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
f481645e64
commit
87bdee60bc
3 changed files with 18 additions and 2 deletions
|
@ -54,6 +54,8 @@
|
|||
if ($atype == "Trusted User" || $atype == "Developer") {
|
||||
echo "<input type='submit' class='button' name='do_Delete'";
|
||||
echo " value='".__("Delete Packages")."' />\n";
|
||||
echo "<label for='merge_Into'>".__("Merge into")."</label>\n";
|
||||
echo "<input type='text' id='merge_Into' name='merge_Into' /> ";
|
||||
echo "<input type='checkbox' name='confirm_Delete' value='1' /> ";
|
||||
echo __("Confirm")."\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue