mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): use CRED_TU_LIST_VOTES for "Trusted User" navigation item
Closes #189 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4426c639ce
commit
436d742017
2 changed files with 3 additions and 3 deletions
|
@ -36,8 +36,8 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
{# Only CRED_TU_VOTE privileged users see Trusted User #}
|
||||
{% if request.user.has_credential("CRED_TU_VOTE") %}
|
||||
{# Only CRED_TU_LIST_VOTES privileged users see Trusted User #}
|
||||
{% if request.user.has_credential("CRED_TU_LIST_VOTES") %}
|
||||
<li>
|
||||
<a href="/tu">{% trans %}Trusted User{% endtrans %}</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue