diff --git a/sapl/base/views.py b/sapl/base/views.py index 979ec08cc..5013a0989 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -1267,6 +1267,12 @@ class ListarInconsistenciasView(PermissionRequiredMixin, ListView): 'Parlamentares com mandatos com interseção', len(parlamentares_mandatos_intersecao())) ) + tabela.append( + ('materias_com_protocolo_inexistente', + 'Matérias Legislativas com protocolo inexistente', + len(materias_com_protocolo_inexistente()) + ) + ) return tabela diff --git a/sapl/templates/base/materias_com_protocolo_inexistente.html b/sapl/templates/base/materias_com_protocolo_inexistente.html new file mode 100644 index 000000000..3ef14d3a1 --- /dev/null +++ b/sapl/templates/base/materias_com_protocolo_inexistente.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} +{% load i18n %} +{% load tz %} +{% load common_tags %} +{% block base_content %} +
+

Lista de Matérias Legislativas com Protocolo Inexistente

+ {% if not materias_com_protocolo_inexistente %} +

{{ NO_ENTRIES_MSG }}

+ {% else %} + + + + + + + + + + {% for materia, ano, numero_protocolo in materias_com_protocolo_inexistente %} + + + + + + {% endfor %} + +
Matéria LegislativaAnoNúmero Protocolo
+ {{ materia }} + {{ ano }}{{ numero_protocolo }}
+ {% endif %} +
+ {% include 'paginacao.html'%} +{% endblock base_content %} \ No newline at end of file