mirror of https://github.com/interlegis/sapl.git
committed by
João Rodrigues
4 changed files with 5 additions and 37 deletions
@ -1,32 +0,0 @@ |
|||||
{% extends "base.html" %} |
|
||||
{% load i18n %} |
|
||||
{% load tz %} |
|
||||
{% load common_tags %} |
|
||||
{% block base_content %} |
|
||||
<fieldset> |
|
||||
<h1>Lista de Protocolos que Excedem o Limite de Matérias Vinculadas</h1> |
|
||||
{% 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 protocolo, quantidade in protocolos_com_materias %} |
|
||||
<tr> |
|
||||
<td> |
|
||||
<a href="{% url 'sapl.materia:pesquisar_materia' %}?numero_protocolo={{protocolo.numero}}">{{ protocolo }}</a> |
|
||||
</td> |
|
||||
<td>{{ quantidade }}</td> |
|
||||
</tr> |
|
||||
{% endfor %} |
|
||||
</tbody> |
|
||||
</table> |
|
||||
{% endif %} |
|
||||
</fieldset> |
|
||||
{% include 'paginacao.html'%} |
|
||||
{% endblock base_content %} |
|
||||
Loading…
Reference in new issue