From 8574dee7a7364bbfb5d0c5e26d7f190a4846fc2b Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 4 Jan 2012 20:56:40 +0000 Subject: [PATCH] Don't attempt to show Sentry if its not enabled --- app/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/base.html b/app/templates/base.html index 475b81c..f27c8a5 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -64,8 +64,10 @@ {% if request.user.is_staff %}
  • Admin
  • {% endif %} + {% if "sentry"|installed %} {% if request.user.is_superuser %}
  • Sentry
  • + {% endif %} {% endif %}
  • Logout
  • {% endif %}