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.
31 lines
1.0 KiB
31 lines
1.0 KiB
{% extends "crud/detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
{% block detail_content %}
|
|
<table class="table table-striped">
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<th>Nome</th>
|
|
<th>Cargo</th>
|
|
<th>Titular</th>
|
|
<th>Designação</th>
|
|
<th>Desligamento</th>
|
|
<th>Motivo</th>
|
|
<th>Observação</th>
|
|
</tr>
|
|
</thead>
|
|
{% for participacao in participacoes %}
|
|
<tr>
|
|
<td><a href="{% url 'comissoes:participacao_detail' participacao.pk %}">{{participacao.parlamentar.nome_parlamentar}}</a></td>
|
|
<td>{{participacao.cargo}}</td>
|
|
<td>{{participacao.titular|yesno:"Sim,Não"}}</td>
|
|
<td>{{participacao.data_designacao|date:"d/m/Y"}}</td>
|
|
<td>{{participacao.data_desligamento|date:"d/m/Y"|default:"-"}}</td>
|
|
<td>{{participacao.motivo_desligamento|default:"-"}}</td>
|
|
<td>{{participacao.observacao|default:"-"}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<a href="{% url 'comissoes:participacao_create' composicao.pk %}" class="btn btn-primary">Incluir Parlamentar</a>
|
|
{% endblock detail_content %}
|
|
|