From 2894c4aeec566cb678a331f44f3d981c09c7d90c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 24 Oct 2012 19:08:43 +0000 Subject: Add shortcut to admin panel This patch adds a shortcut to the admin panel but only for users that are members of staff. Signed-off-by: Simo Sorce Signed-off-by: Jeremy Kerr --- templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/base.html b/templates/base.html index d3b8e67..787433f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,6 +26,9 @@ bundles
profile :: +{% if user.is_staff %} + admin :: +{% endif %} logout {% else %} login -- cgit v1.2.3