Add a link to the admin pannel for superusers

This commit is contained in:
Rodolphe Breard 2018-02-04 11:42:48 +01:00
parent eb8a3688a5
commit acec5d06de

View file

@ -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>