From: Damien Lespiau Date: Thu, 2 Oct 2014 23:55:28 +0000 (+0100) Subject: base: Group username/profile/logout with a dropdown X-Git-Tag: v1.1.0~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b9cd68bcfffae3a5ff9db78572af0caa530d4a5;p=thirdparty%2Fpatchwork.git base: Group username/profile/logout with a dropdown We regoup user related information (log out and profile) in a dropdown with the user identity as label. Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- diff --git a/templates/base.html b/templates/base.html index aa7c2b3b..5e82ede9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -45,16 +45,21 @@
  • {% endif %} {% if user.is_authenticated %} -
  • todo ({{ user.profile.n_todo_patches }})
  • bundles
  • -
  • profile
  • {% if user.is_staff %}
  • admin
  • + {% endif %} -
  • logout
  • {% else %}
  • login
  • register