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.
38 lines
1.0 KiB
38 lines
1.0 KiB
{% extends "crud/detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block actions %}<!-- Remvoer botões 'Editar' e 'Excluir' -->{% endblock %}
|
|
|
|
{% block sections_nav %}
|
|
<h2><b>Proposições</b></h2>
|
|
<br />
|
|
<div class="actions btn-group pull-right" role="group">
|
|
<a href="{% url 'adicionar_proposicao' %}" class="btn btn-default">Nova Proposição</a>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block detail_content %}
|
|
<table width="100%">
|
|
<tr>
|
|
<th>Enviada em</th>
|
|
<th>Tipo</th>
|
|
<th>Descrição</th>
|
|
<th>Incorporada?</th>
|
|
</tr>
|
|
|
|
{% for proposicao in page_obj %}
|
|
<tr>
|
|
{% if proposicao.data_envio %}
|
|
<td><a href=""><b>{{ proposicao.data_envio|date:'d/m/Y H:i:s' }}</b></a></td>
|
|
{% else %}
|
|
<td><a href=""><b>Em elaboração...</b></a></td>
|
|
{% endif %}
|
|
<td>{{ proposicao.tipo }}</td>
|
|
<td>{{ proposicao.descricao|safe }}</td>
|
|
<td>{% if proposicao.materia %} Sim {% else %} Não {% endif %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% include "paginacao.html" %}
|
|
{% endblock %}
|