From 170313ea6fe763bd12b987cd323fa6077eaa6b2b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 9 Mar 2011 15:32:33 -0400 Subject: [PATCH] Show sentry login for admin users --- apps/main/templates/base.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/main/templates/base.html b/apps/main/templates/base.html index 13a918f534..3d9602863d 100644 --- a/apps/main/templates/base.html +++ b/apps/main/templates/base.html @@ -72,9 +72,13 @@ {% endif %} {% endif %} - {% if user.is_staff %} + {% if user.is_staff or user.is_superuser %}
  • {% trans "Admin site" %}
  • {% endif %} + + {% if user.is_staff or user.is_superuser %} +
  • {% trans "Sentry" %}
  • + {% endif %} {% get_setting "MIDDLEWARE_CLASSES" as middleware_classes %} {% if "django.middleware.locale.LocaleMiddleware" in middleware_classes %}