From: Damien Lespiau Date: Mon, 16 Mar 2015 13:30:00 +0000 (+0000) Subject: base: Don't put the logout button in the is_staff block X-Git-Tag: v1.1.0~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=383c7e20c2eaf8222a8239c188455e7c7dd4f322;p=thirdparty%2Fpatchwork.git base: Don't put the logout button in the is_staff block Regular users didn't have their logout/profile drop down! Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- diff --git a/templates/base.html b/templates/base.html index e5dfee88..2e0b487f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -51,6 +51,7 @@
  • Bundles
  • {% if user.is_staff %}
  • Admin
  • +{% endif %} -{% endif %} {% else %}
  • Login
  • Register