From f2900a5c2764a1e9be3ca28ac4fc74883195cbd6 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Sat, 23 Mar 2019 13:50:00 -0300 Subject: [PATCH] HOT-FIX: refetora composicao_list --- sapl/templates/comissoes/composicao_list.html | 67 +++++++++---------- sapl/templates/crud/list.html | 9 +-- setup.py | 2 +- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/sapl/templates/comissoes/composicao_list.html b/sapl/templates/comissoes/composicao_list.html index 752e0c885..bc7bf8292 100644 --- a/sapl/templates/comissoes/composicao_list.html +++ b/sapl/templates/comissoes/composicao_list.html @@ -1,46 +1,45 @@ {% extends "crud/list.html" %} {% load i18n common_tags crispy_forms_tags%} -{% block base_content %} +{% block actions %} {% if user.is_authenticated and perms.comissoes.add_composicao %} -
- {% block actions %} -
- {% if view.create_url %} - - {% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %} - - {% endif %} - {% block more_buttons %}{% endblock more_buttons %} -
- {% endblock actions %} -
+
+ {% if view.create_url %} + + {% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %} + + {% endif %} + {% block more_buttons %}{% endblock more_buttons %} +
{% endif %} +{% endblock actions %} -
- Selecione o Período -
- -
-
+{% block extra_content %} +
+
+ Selecione o Período + +
+

+{% endblock %} + +{% block container_table_list %} {% if user.is_authenticated and perms.comissoes.add_participacao %} -
- - Adicionar Participação em Comissão - + {% endif %} - -
- -
@@ -71,4 +70,4 @@
-{% endblock base_content %} +{% endblock %} diff --git a/sapl/templates/crud/list.html b/sapl/templates/crud/list.html index 375c6edbb..51f0f5223 100644 --- a/sapl/templates/crud/list.html +++ b/sapl/templates/crud/list.html @@ -5,17 +5,18 @@
-