Verified Commit b112c5f0 authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos
Browse files

fix: hide Unflag package from non-maintainers



Closes: #364
Signed-off-by: Leonidas Spyropoulos's avatarLeonidas Spyropoulos <artafinde@archlinux.org>
parent 4ddd1dec
Pipeline #19017 passed with stages
in 2 minutes and 49 seconds
......@@ -41,6 +41,7 @@
</a>
</span>
</li>
{% if request.user.has_credential(creds.PKGBASE_EDIT_COMAINTAINERS, approved=[pkgbase.Maintainer]) %}
<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 %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment