Commit 5d6ca784 authored by Michal Čihař's avatar Michal Čihař

Add link to administration to toolbar

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent ecd77f70
......@@ -94,6 +94,9 @@
<ul class="nav navbar-nav navbar-right flip">
{% if user.is_authenticated %}
<li><a class="button" id="profile-button" href="{% url 'profile' %}" title="{% trans "Your profile" %}">{{ user.profile.get_user_display }}</a></li>
{% if user.is_staff %}
<li><a class="button" id="admin-button" href="{% url 'admin:index' %}" title="{% trans "Administration" %}"><i class="fa fa-wrench"></i></a></li>
{% endif %}
<li><a class="button" id="logout-button" href="{% url 'logout' %}" title="{% trans "Logout" %}"><i class="fa fa-sign-out"></i></a></li>
{% else %}
{% if registration_open %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment