From 698251ec8baf2bd3872043c70843b23a3516b458 Mon Sep 17 00:00:00 2001 From: Eliseu Egewarth Date: Tue, 21 Nov 2017 15:54:01 -0200 Subject: [PATCH] Fix #1599 Signed-off-by: Eliseu Egewarth --- sapl/templates/base.html | 3 --- sapl/templates/navbar.yaml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 19f70e4f9..efcd0a647 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -69,9 +69,6 @@ Votar Matéria {% endif %} - {% if request.user.is_superuser %} -
  • Administração
  • - {% endif %}
  • Sair
  • diff --git a/sapl/templates/navbar.yaml b/sapl/templates/navbar.yaml index 9bcb12e2d..b0836341b 100644 --- a/sapl/templates/navbar.yaml +++ b/sapl/templates/navbar.yaml @@ -65,6 +65,9 @@ - title: {% trans 'Tabelas Auxiliares' %} url: '/sistema' check_permission: base.view_tabelas_auxiliares + - title: {% trans 'Administração de Usuários' %} + url: '/admin' + check_permission: user.is_superuser {% comment %}