mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Redirect to details pages after performing actions
After performing a package base action on a separate page, return to the corresponding package base details page. Partly fixes FS#46545. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
d0f8b285e4
commit
90e96e3728
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?>
|
|||
<?= __('Deletion of a package is permanent. '); ?>
|
||||
<?= __('Select the checkbox to confirm action.') ?>
|
||||
</p>
|
||||
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
|
||||
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
|
||||
<input type="hidden" name="ID" value="<?= $base_id ?>" />
|
||||
|
|
|
@ -33,7 +33,7 @@ if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?>
|
|||
<?= __('By selecting the checkbox, you confirm that you want to disown the package.') ?>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
|
||||
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
|
||||
<input type="hidden" name="ID" value="<?= $base_id ?>" />
|
||||
|
|
|
@ -27,7 +27,7 @@ if (has_credential(CRED_PKGBASE_FLAG)): ?>
|
|||
'<strong>', '</strong>'); ?>
|
||||
<?= __('Enter details on why the package is out-of-date below, preferably including links to the release announcement or the new release tarball.'); ?>
|
||||
</p>
|
||||
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
|
||||
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
|
||||
<input type="hidden" name="ID" value="<?= $base_id ?>" />
|
||||
|
|
|
@ -28,7 +28,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?>
|
|||
<?= __('Enter the package name you wish to merge the package into. '); ?>
|
||||
<?= __('Select the checkbox to confirm action.') ?>
|
||||
</p>
|
||||
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
|
||||
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
|
||||
<input type="hidden" name="ID" value="<?= $base_id ?>" />
|
||||
|
|
Loading…
Add table
Reference in a new issue