mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add full package list to the removal form
In addition to naming the package base that is going to be removed or merged, list every single package that is affected. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
1486f8067a
commit
ace64c96d3
2 changed files with 17 additions and 2 deletions
|
@ -20,8 +20,15 @@ if ($atype == "Trusted User" || $atype == "Developer"): ?>
|
|||
<div class="box">
|
||||
<h2><?= __('Delete Package: %s', htmlspecialchars($pkgbase_name)) ?></h2>
|
||||
<p>
|
||||
<?= __('Use this form to delete the package (%s%s%s) from the AUR. ',
|
||||
<?= __('Use this form to delete the package base %s%s%s and the following packages from the AUR: ',
|
||||
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
||||
</p>
|
||||
<ul>
|
||||
<?php foreach(pkgbase_get_pkgnames($base_id) as $pkgname): ?>
|
||||
<li><?= htmlspecialchars($pkgname) ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<p>
|
||||
<?= __('Deletion of a package is permanent. '); ?>
|
||||
<?= __('Select the checkbox to confirm action.') ?>
|
||||
</p>
|
||||
|
|
|
@ -20,8 +20,16 @@ if ($atype == "Trusted User" || $atype == "Developer"): ?>
|
|||
<div class="box">
|
||||
<h2><?= __('Merge Package: %s', htmlspecialchars($pkgbase_name)) ?></h2>
|
||||
<p>
|
||||
<?= __('Use this form to merge the package (%s%s%s) into another package. ',
|
||||
<?= __('Use this form to merge the package base %s%s%s into another package. ',
|
||||
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
||||
<?= __('The following packages will be deleted: '); ?>
|
||||
</p>
|
||||
<ul>
|
||||
<?php foreach(pkgbase_get_pkgnames($base_id) as $pkgname): ?>
|
||||
<li><?= htmlspecialchars($pkgname) ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<p>
|
||||
<?= __('Once the package has been merged it cannot be reversed. '); ?>
|
||||
<?= __('Enter the package name you wish to merge the package into. '); ?>
|
||||
<?= __('Select the checkbox to confirm action.') ?>
|
||||
|
|
Loading…
Add table
Reference in a new issue