mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
9 years ago
committed by
Edward Ribeiro
3 changed files with 60 additions and 8 deletions
@ -0,0 +1,29 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
{% block base_content %} |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Data de Envio</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for prop in object_list %} |
|||
<tr> |
|||
<td><a href="{% url 'sapl.materia:proposicao_detail' prop.pk %}">{{ prop.data_envio|date:"d/m/Y H:i:s" }}</a></td> |
|||
<td>{{ prop.tipo.descricao }}</td> |
|||
<td>{{ prop.descricao }}</td> |
|||
<td>{{ prop.autor }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
{% include 'paginacao.html'%} |
|||
{% endblock %} |
Loading…
Reference in new issue