Show link to Sentry on the header if the user is a superuser

This commit is contained in:
2011-09-28 12:00:29 +01:00
parent 89823c86f7
commit b4d65a3185

View File

@@ -31,6 +31,9 @@
{% endif %}
{% if request.user.is_staff %}
<li><a href="/nexus/">Admin</a></li>
{% endif %}
{% if request.user.is_superuser %}
<li><a href="{% url sentry %}">Sentry</a></li>
{% endif %}
<li><a href="{% url django.contrib.auth.views.logout %}">Logout</a></li>
{% else %}