mirror of https://github.com/interlegis/sapl.git
6 changed files with 225 additions and 102 deletions
@ -1,22 +1,22 @@ |
|||
{% extends "base.html" %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Inconsistências</h1> |
|||
<br/> |
|||
<table class="table table-striped table-hover"> |
|||
<tbody> |
|||
{% for complemento_link, nome, valor in tabela_inconsistencias %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.base:lista_inconsistencias' %}{{ complemento_link }}">{{ nome }}</a> |
|||
</td> |
|||
<td>{{ valor }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
<fieldset> |
|||
<h1>Lista de Inconsistências</h1> |
|||
<br/> |
|||
<table class="table table-striped table-hover"> |
|||
<tbody> |
|||
{% for complemento_link, nome, valor in tabela_inconsistencias %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.base:lista_inconsistencias' %}{{ complemento_link }}">{{ nome }}</a> |
|||
</td> |
|||
<td>{{ valor }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
</fieldset> |
|||
{% include 'paginacao.html' %} |
|||
<br/> |
|||
{% endblock base_content %} |
|||
@ -1,34 +1,34 @@ |
|||
{% extends "base.html" %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Matérias Legislativas com Protocolo Inexistente</h1> |
|||
<br/> |
|||
{% if not materias_protocolo_inexistente %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Matéria Legislativa</th> |
|||
<th>Ano</th> |
|||
<th>Número Protocolo</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for materia, ano, numero_protocolo in materias_protocolo_inexistente %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl_index' %}materia/{{ materia.pk }}">{{ materia }}</a> |
|||
</td> |
|||
<td>{{ ano }}</td> |
|||
<td>{{ numero_protocolo }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
<br/> |
|||
<fieldset> |
|||
<h1>Lista de Matérias Legislativas com Protocolo Inexistente</h1> |
|||
<br/> |
|||
{% if not materias_protocolo_inexistente %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Matéria Legislativa</th> |
|||
<th>Ano</th> |
|||
<th>Número Protocolo</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for materia, ano, numero_protocolo in materias_protocolo_inexistente %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.materia:materialegislativa_detail' materia.pk %}">{{ materia }}</a> |
|||
</td> |
|||
<td>{{ ano }}</td> |
|||
<td>{{ numero_protocolo }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html' %} |
|||
<br/> |
|||
{% endblock base_content %} |
|||
@ -1,30 +1,30 @@ |
|||
{% extends "base.html" %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Protocolos que Excedem o Limite de Matérias Vinculadas</h1> |
|||
<br/> |
|||
{% if not protocolos_com_materias %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Protocolo</th> |
|||
<th>Quantidade de Matérias Vinculas</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for materia, quantidade in protocolos_com_materias %} |
|||
<tr> |
|||
<td>{{ materia.numero_protocolo }}/{{ materia.ano }}</td> |
|||
<td>{{ quantidade }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
<br/> |
|||
<fieldset> |
|||
<h1>Lista de Protocolos que Excedem o Limite de Matérias Vinculadas</h1> |
|||
<br/> |
|||
{% if not protocolos_com_materias %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Protocolo</th> |
|||
<th>Quantidade de Matérias Vinculas</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for materia, quantidade in protocolos_com_materias %} |
|||
<tr> |
|||
<td>{{ materia.numero_protocolo }}/{{ materia.ano }}</td> |
|||
<td>{{ quantidade }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html' %} |
|||
<br/> |
|||
{% endblock base_content %} |
|||
@ -1,32 +1,32 @@ |
|||
{% extends "base.html" %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Protocolos Duplicados</h1> |
|||
<br/> |
|||
{% if not protocolos_duplicados %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Protocolo</th> |
|||
<th>Quantidade</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for protocolo, quantidade in protocolos_duplicados %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.protocoloadm:protocolo' %}?numero={{protocolo.numero}}&ano={{protocolo.ano}}">{{ protocolo }}</a> |
|||
</td> |
|||
<td>{{ quantidade }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
<br/> |
|||
<fieldset> |
|||
<h1>Lista de Protocolos Duplicados</h1> |
|||
<br/> |
|||
{% if not protocolos_duplicados %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Protocolo</th> |
|||
<th>Quantidade</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for protocolo, quantidade in protocolos_duplicados %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.protocoloadm:protocolo' %}?numero={{protocolo.numero}}&ano={{protocolo.ano}}">{{ protocolo }}</a> |
|||
</td> |
|||
<td>{{ quantidade }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html' %} |
|||
<br/> |
|||
{% endblock base_content %} |
|||
Loading…
Reference in new issue