From 2b55d6dd4960f94af634026105613c970c47250e Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 13 Apr 2026 11:50:00 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20impl=20tabs=20na=20listagem=20de=20mesa?= =?UTF-8?q?=20diretora=20perfil=20p=C3=BAblico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/crud/filter.html | 1 - .../parlamentares/mesadiretora_filter.html | 63 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) delete mode 100644 sapl/templates/crud/filter.html create mode 100644 sapl/templates/parlamentares/mesadiretora_filter.html diff --git a/sapl/templates/crud/filter.html b/sapl/templates/crud/filter.html deleted file mode 100644 index ddfadab08..000000000 --- a/sapl/templates/crud/filter.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "crud/list.html" %} \ No newline at end of file diff --git a/sapl/templates/parlamentares/mesadiretora_filter.html b/sapl/templates/parlamentares/mesadiretora_filter.html new file mode 100644 index 000000000..6f28b05e8 --- /dev/null +++ b/sapl/templates/parlamentares/mesadiretora_filter.html @@ -0,0 +1,63 @@ +{% extends "crud/list.html" %} +{% load i18n common_tags crispy_forms_tags cropping %} + +{% block container_table_list %} + {% if perms.add_mesadiretora %} + {{ block.super }} + {% else %} +
+ +
+ {% for md in object_list %} + {% if forloop.first or request.GET.mesadiretora == md.id|stringformat:"s" %} +
+ {% else %} +
+ {% endif %} + + + + + + + + + + + {% for p in md.composicaomesa_set.all %} + + {% if p.parlamentar.fotografia %} + + {% else %} + + {% endif %} + + + + + {% endfor %} + + +
+ {% endfor %} +
+ {% endif %} + +{% endblock container_table_list %}