From 9b9cd68bcfffae3a5ff9db78572af0caa530d4a5 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 3 Oct 2014 00:55:28 +0100 Subject: [PATCH] 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 --- templates/base.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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
  • -- 2.47.3