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.
48 lines
1.5 KiB
48 lines
1.5 KiB
{% extends "materia/proposicao_base.html" %}
|
|
{% load i18n %}
|
|
{% load tz %}
|
|
{% block base_content %}
|
|
<div class="proposicao-content">
|
|
<div class="proposicao-header">
|
|
<h2>Historico de Proposicoes</h2>
|
|
<p class="text-muted">Registro de todas as movimentacoes de proposicoes</p>
|
|
</div>
|
|
{% if not object_list %}
|
|
<p>{{ NO_ENTRIES_MSG }}</p>
|
|
{% else %}
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Data/Hora</th>
|
|
<th>Status</th>
|
|
<th>Operador</th>
|
|
<th>Proposição</th>
|
|
<th>Descrição</th>
|
|
<th>Autor</th>
|
|
<th>Observação</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for hist in object_list %}
|
|
<tr>
|
|
<td>{{ hist.data_hora|localtime|date:"d/m/Y H:i:s" }}</td>
|
|
<td>{{ hist.status_descricao}}</td>
|
|
<td>{{ hist.user|default_if_none:"" }}</td>
|
|
<td>
|
|
<a href="{% url 'sapl.materia:proposicao_detail' hist.proposicao.pk %}">
|
|
{{ hist.proposicao.numero_proposicao }}/{{ hist.proposicao.ano }}
|
|
</a>
|
|
</td>
|
|
<td>{{ hist.proposicao.descricao }}</td>
|
|
<td>{{ hist.proposicao.autor }}</td>
|
|
<td>{{ hist.observacao }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% include 'paginacao.html'%}
|
|
{% endblock %}
|
|
|
|
|