mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: hide Unflag package from non-maintainers
Closes: #364 Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
0b03a6871e
commit
034e47bc28
3 changed files with 7 additions and 2 deletions
|
@ -41,6 +41,7 @@
|
|||
</a>
|
||||
</span>
|
||||
</li>
|
||||
{% if request.user.has_credential(creds.PKGBASE_UNFLAG, approved=unflaggers) %}
|
||||
<li>
|
||||
<form action="/pkgbase/{{ pkgbase.Name }}/unflag" method="post">
|
||||
<input class="button text-button"
|
||||
|
@ -50,6 +51,7 @@
|
|||
/>
|
||||
</form>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<li>
|
||||
{% if not voted %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue