show admin menu if user is admin

This commit is contained in:
Son 2022-08-03 16:00:00 +02:00
parent badfe2f752
commit 57a7565c12

View file

@ -83,6 +83,14 @@
</a>
</li>
{% endif %}
{% if current_user.is_admin %}
<li class="nav-item">
<a href="/admin">
<i class="fe fe-server"></i> Admin ☢️
</a>
</li>
{% endif %}
{% if ZENDESK_ENABLED %}
<li class="nav-item">