mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: correct redirects for package actions & requests
For requests, we always pass a `next` of /requests, leading us back to the requests page. For a standard package, we get redirected to the involved pkgbase, or target pkgbase if a merge action was taken. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
c883c71053
commit
3f95ac7db3
5 changed files with 28 additions and 12 deletions
|
@ -45,6 +45,7 @@
|
|||
|
||||
<form action="/pkgbase/{{ pkgbase.Name }}/delete" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue