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.
42 lines
1.2 KiB
42 lines
1.2 KiB
{% extends "crud/list.html" %}
|
|
{% load i18n %}
|
|
{% load common_tags %}
|
|
|
|
{% block actions %}
|
|
{{ block.super }}
|
|
{% endblock actions %}
|
|
|
|
{% block base_content %}
|
|
{% if not frentes %}
|
|
<h1>O {{ nome_parlamentar }} não têm participações em Frentes Parlamentares.</h1>
|
|
{% else %}
|
|
<h1>Frentes ({{ nome_parlamentar }})</h1>
|
|
<br/>
|
|
Total de Frentes: {{ num_frentes }}
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Frent{{ num_frentes|pluralize:"e,es" }}</th>
|
|
<th>Cargo</th>
|
|
<th>Data de Entrada</th>
|
|
<th>Data de Saída</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for frente in frentes %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'sapl.parlamentares:frente_detail' frente.frente.pk %}">{{ frente.frente }}</a>
|
|
</td>
|
|
<td>{{ frente.cargo.nome_cargo }}</td>
|
|
<td>{{ frente.data_entrada }}</td>
|
|
<td>{% if frente.data_saida %} {{ frente.data_saida }} {% else %} - {% endif %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
<br/>
|
|
{% include 'paginacao.html'%}
|
|
<br /><br /><br />
|
|
{% endblock base_content %}
|