mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 09:13:45 +08:00
show admin menu if user is admin
This commit is contained in:
parent
badfe2f752
commit
57a7565c12
1 changed files with 8 additions and 0 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue