Add a link to the admin pannel for superusers
This commit is contained in:
parent
eb8a3688a5
commit
acec5d06de
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@
|
|||
<!--
|
||||
<a class="dropdown-item" href="{% url "settings" %}">{% trans "settings" %}</a>
|
||||
-->
|
||||
{% if user.is_superuser %}
|
||||
<a class="dropdown-item" href="{% url "admin:index" %}">{% trans "administration" %}</a>
|
||||
{% endif %}
|
||||
<a class="dropdown-item" href="{% url "logout" %}">{% trans "logout" %}</a>
|
||||
</div>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue