mirror of https://github.com/interlegis/sapl.git
committed by
João Rodrigues
2 changed files with 36 additions and 1 deletions
@ -0,0 +1,32 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
{% load i18n %} |
||||
|
{% load tz %} |
||||
|
{% load common_tags %} |
||||
|
{% block base_content %} |
||||
|
<fieldset> |
||||
|
<h1>Lista de Legislaturas Anteriores sem Data Fim</h1> |
||||
|
{% if not legislatura_anterior_infindavel %} |
||||
|
<p>{{ NO_ENTRIES_MSG }}</p> |
||||
|
{% else %} |
||||
|
<table class="table table-striped table-hover"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th>Legislatura</th> |
||||
|
<th>Data Fim</th> |
||||
|
<th>Data Eleição</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
{% for legislatura in legislatura_anterior_infindavel %} |
||||
|
<tr> |
||||
|
<td>{{ legislatura.numero }}</td> |
||||
|
<td>{{ legislatura.data_eleicao }}</td> |
||||
|
<td>{{ legislatura.data_inicio }}</td> |
||||
|
</tr> |
||||
|
{% endfor %} |
||||
|
</tbody> |
||||
|
</table> |
||||
|
{% endif %} |
||||
|
</fieldset> |
||||
|
{% include 'paginacao.html'%} |
||||
|
{% endblock base_content %} |
||||
Loading…
Reference in new issue