From: Simo Sorce Date: Wed, 24 Oct 2012 19:08:43 +0000 (+0000) Subject: Add shortcut to admin panel X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=2894c4aeec566cb678a331f44f3d981c09c7d90c 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 --- 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