From 0cfef75ee25b54125f29374abc4e3bd1dedf56e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o?= Date: Tue, 14 May 2019 18:56:25 -0300 Subject: [PATCH] =?UTF-8?q?Refatorar=20reuniao=5Fdetail=20p/=20add=20CRUD?= =?UTF-8?q?=20Pauta=20Reuni=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/comissoes/reuniao_detail.html | 34 ++++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/sapl/templates/comissoes/reuniao_detail.html b/sapl/templates/comissoes/reuniao_detail.html index 689c4d709..a5489a1e8 100644 --- a/sapl/templates/comissoes/reuniao_detail.html +++ b/sapl/templates/comissoes/reuniao_detail.html @@ -4,9 +4,35 @@ {% block detail_content %} {{ block.super }}

Pauta

+ {% if mats %} +

Total de Registros: {{num_mats}}

+ + + + + + + + {% for mat in mats %} + + + + {% endfor %} + +
Matéria
+ {{mat}} +
+
+ {% trans 'Adicionar Matéria' %} + {% trans 'Remover Matéria' %} +
+ {% else %} + {% trans 'Adicionar Matéria' %} + {% endif %} +

Documentos Acessórios

{% if docs %} -

Total de registros: {{n_docs}}

+

Total de registros: {{num_docs}}

@@ -23,7 +49,9 @@ {% endfor %}
+ {% trans 'Adicionar Documento' %} + {% else %} + {% trans 'Adicionar Documento' %} {% endif %} - {% trans 'Adicionar Documento Acessório' %}

-{% endblock detail_content %} \ No newline at end of file +{% endblock detail_content %}