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
|
@ -27,6 +27,8 @@
|
|||
<form id="request-form" action="/pkgbase/{{ pkgbase.Name }}/request"
|
||||
method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
|
||||
<p>
|
||||
<label for="id_type">{{ "Request type" | tr }}:</label>
|
||||
<select id="id_type" name="type">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue