From 925a42a35354fae5ce1ad29e10e121385c2a84fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= Date: Mon, 17 Dec 2018 16:52:35 -0200 Subject: [PATCH] =?UTF-8?q?Identificar=20protocolos=20com=20duas=20ou=20ma?= =?UTF-8?q?is=20mat=C3=A9rias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/urls.py | 1 - .../base/protocolos_com_materias.html | 32 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 sapl/templates/base/protocolos_com_materias.html diff --git a/sapl/base/urls.py b/sapl/base/urls.py index eef3e5fca..834f8d89a 100644 --- a/sapl/base/urls.py +++ b/sapl/base/urls.py @@ -156,7 +156,6 @@ urlpatterns = [ name='lista_bancada_comissao_autor_externo'), - # todos os sublinks de sistema devem vir acima deste url(r'^sistema/$', permission_required('base.view_tabelas_auxiliares') (TemplateView.as_view(template_name='sistema.html')), diff --git a/sapl/templates/base/protocolos_com_materias.html b/sapl/templates/base/protocolos_com_materias.html new file mode 100644 index 000000000..982993c08 --- /dev/null +++ b/sapl/templates/base/protocolos_com_materias.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} +{% load i18n %} +{% load tz %} +{% load common_tags %} +{% block base_content %} +
+

Lista de Protocolos que Excedem o Limite de Matérias Vinculadas

+ {% if not protocolos_com_materias %} +

{{ NO_ENTRIES_MSG }}

+ {% else %} + + + + + + + + + {% for protocolo, quantidade in protocolos_com_materias %} + + + + + {% endfor %} + +
ProtocoloQuantidade de Matérias Vinculas
+ {{ protocolo }} + {{ quantidade }}
+ {% endif %} +
+ {% include 'paginacao.html'%} +{% endblock base_content %} \ No newline at end of file