From 21f2f60fb3bd1cfeda8deeb26ba5b1d7a66759d7 Mon Sep 17 00:00:00 2001 From: filipecmedeiros Date: Thu, 17 Nov 2016 19:51:49 -0300 Subject: [PATCH] Modifications on sidebar [Issue #360] --- app/templates/home.html | 11 ++++++++++- users/templates/list_users.html | 3 --- users/templates/users/index.html | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/templates/home.html b/app/templates/home.html index 0f8ba72..3f7be7e 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -96,7 +96,16 @@ {% endblock %} {% if user|has_role:'system_admin' %} -
  • {% trans 'Manage Users' %}
  • + +
  • + {% trans 'Manage Users' %} + +
  • {% trans 'Settings' %}
  • {% endif %} diff --git a/users/templates/list_users.html b/users/templates/list_users.html index 42319f3..3257ff7 100644 --- a/users/templates/list_users.html +++ b/users/templates/list_users.html @@ -10,9 +10,6 @@ {% endblock %} {% block menu %} - {% if user|has_role:'system_admin' %} -
  • {% trans 'Add User' %}
  • - {% endif %} {% endblock %} {% block content %} diff --git a/users/templates/users/index.html b/users/templates/users/index.html index 7a94e73..249b2a7 100644 --- a/users/templates/users/index.html +++ b/users/templates/users/index.html @@ -10,7 +10,7 @@ {% endblock %} {% block menu %} -
  • {% trans 'Add User' %}
  • + {% endblock %} {% block content %} -- libgit2 0.21.2