mirror of https://github.com/interlegis/sapl.git
7 changed files with 124 additions and 4 deletions
@ -0,0 +1,38 @@ |
|||||
|
{% extends "crud/list.html" %} |
||||
|
{% load i18n %} |
||||
|
{% load crispy_forms_tags %} |
||||
|
|
||||
|
{% block base_content %} |
||||
|
{% if not show_results %} |
||||
|
{% crispy filter.form %} |
||||
|
{% endif %} |
||||
|
|
||||
|
{% if show_results %} |
||||
|
<div class="actions btn-group pull-right" role="group"> |
||||
|
<a href="{% url 'sapl.base:historico_tramitacoes' %}" class="btn btn-default">{% trans 'Fazer nova pesquisa' %}</a> |
||||
|
</div> |
||||
|
<br /><br /><br /><br /> |
||||
|
<b>PARÂMETROS DE PESQUISA:<br /></b> |
||||
|
 Ano: {{ ano }} <br /> |
||||
|
<br /><br /><br /> |
||||
|
<table class="table table-bordered table-hover"> |
||||
|
{% for norma in object_list %} |
||||
|
<thead class="thead-default"><tr><td><h3>Mês: {{ norma.data }}</h3></td></tr></thead> |
||||
|
<thead class="thead-default" > |
||||
|
<tr class="active"> |
||||
|
<th>Matéria</th> |
||||
|
<th>Norma</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr> |
||||
|
<td><a href="{% url 'sapl.norma:normajuridica_detail' norma.pk %}"> |
||||
|
{{norma.tipo.descricao}} - {{norma.tipo.sigla}} {{norma.numero}}/{{norma.ano}} |
||||
|
</a></td> |
||||
|
<td>{{norma.ementa}}<br>{{norma.observacao}}</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
{% endfor %} |
||||
|
</table> |
||||
|
{% endif %} |
||||
|
{% endblock base_content %} |
||||
Loading…
Reference in new issue