From 11fae890ca848f248213bdfd0c818610358613b2 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 21 Dec 2017 19:54:08 -0200 Subject: [PATCH] Fixes #1653 --- sapl/templates/comissoes/composicao_list.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/templates/comissoes/composicao_list.html b/sapl/templates/comissoes/composicao_list.html index 49dd07768..29071c85d 100644 --- a/sapl/templates/comissoes/composicao_list.html +++ b/sapl/templates/comissoes/composicao_list.html @@ -2,6 +2,7 @@ {% load i18n common_tags crispy_forms_tags%} {% block base_content %} + {% if user.is_authenticated and perms.comissoes.add_composicao %}
{% block actions %}
@@ -14,6 +15,7 @@
{% endblock actions %}
+ {% endif %}
Selecione o Período @@ -28,8 +30,7 @@

- - {% if user.is_authenticated %} + {% if user.is_authenticated and perms.comissoes.add_participacao %}
Adicionar Participação em Comissão