From b4d65a3185ab3d94b260207da36bf5c0082f0792 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 28 Sep 2011 12:00:29 +0100 Subject: [PATCH] Show link to Sentry on the header if the user is a superuser --- app/templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/templates/base.html b/app/templates/base.html index efb3442..5d7e8ef 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -31,6 +31,9 @@ {% endif %} {% if request.user.is_staff %}
  • Admin
  • + {% endif %} + {% if request.user.is_superuser %} +
  • Sentry
  • {% endif %}
  • Logout
  • {% else %}