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 %} +
| + | Nome do Parlamentar | +Partido | +Cargo | +|
|---|---|---|---|---|
|
+
+
+ |
+ {% else %}
+ + {% endif %} + | + {{p.parlamentar.nome_parlamentar}} | +{{p.parlamentar.filiacao_atual}} | +{{p.cargo}} | +