mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
{% extends "base.html" %}
|
|
{% load common_tags %}
|
|
{% block base_content %}
|
|
<fieldset>
|
|
<h1>Lista de Parlamentares com Filiações com Interseção</h1>
|
|
<br/>
|
|
{% if not parlamentares_filiacoes_intersecao %}
|
|
<p>{{ NO_ENTRIES_MSG }}</p>
|
|
{% else %}
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Parlamentar</th>
|
|
<th>Filiação 1</th>
|
|
<th>Filiação 2</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for parlamentar, filiacao_a , filiacao_b in parlamentares_filiacoes_intersecao %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'sapl_index' %}parlamentar/{{ parlamentar.pk }}/filiacao">{{ parlamentar }}</a>
|
|
</td>
|
|
<td>{{filiacao_a.data|date:"d/m/Y"}} - {{filiacao_a.data_desfiliacao|date:"d/m/Y"}}</td>
|
|
<td>{{filiacao_b.data|date:"d/m/Y"}} - {{filiacao_b.data_desfiliacao|date:"d/m/Y"}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
</fieldset>
|
|
{% include 'paginacao.html'%}
|
|
<br/>
|
|
{% endblock base_content %}
|