mirror of https://github.com/interlegis/sapl.git
committed by
João Rodrigues
5 changed files with 117 additions and 2 deletions
@ -0,0 +1,22 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
{% load tz %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Inconsistências</h1> |
|||
<table class="table table-striped table-hover"> |
|||
<tbody> |
|||
{% for campo, valor in tabela_inconsistencias %} |
|||
<tr> |
|||
<td> |
|||
<a href="{% url 'sapl.base:lista_protocolos_duplicados' %}">{{ campo }}</a> |
|||
</td> |
|||
<td>{{ valor }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
{% endblock base_content %} |
|||
@ -0,0 +1,32 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
{% load tz %} |
|||
{% load common_tags %} |
|||
{% block base_content %} |
|||
<fieldset> |
|||
<h1>Lista de Protocolos Duplicados</h1> |
|||
{% 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'%} |
|||
{% endblock base_content %} |
|||
Loading…
Reference in new issue