mirror of https://github.com/interlegis/sapl.git
7 changed files with 111 additions and 87 deletions
@ -1,37 +1,43 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block sections_nav %} {% include 'materia/subnav_prop.html'%} {% endblock sections_nav %} |
|||
|
|||
{% block base_content %} |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Data do Devolução</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
<th>Vínculo</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for prop in object_list %} |
|||
<fieldset> |
|||
<legend>Proposições Não Incorporadas</legend> |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<td><a href="{% url 'sapl.materia:proposicao_detail' prop.pk %}">{{ prop.data_devolucao|date:"d/m/Y H:i:s" }}</a></td> |
|||
<td>{{ prop.tipo.descricao }}</td> |
|||
<td>{{ prop.descricao }}</td> |
|||
<td>{{ prop.autor }}</td> |
|||
<td> |
|||
{% if prop.materia_gerada %} |
|||
<a href="{% url 'sapl.materia:materialegislativa_detail' prop.materia_gerada.pk %}">{{ prop.materia_gerada.tipo.sigla }} {{ prop.materia_gerada.numero }}/{{ prop.materia_gerada.ano }}</a> |
|||
{% elif prop.documento_gerado %} |
|||
<a href="{% url 'sapl.materia:documentoacessorio_detail' prop.documento_gerado.pk %}">{{ prop.documento_gerado.materia.tipo.sigla }} {{ prop.documento_gerado.materia.numero }}/{{ prop.documento_gerado.materia.ano }}</a> |
|||
{% endif %} |
|||
</td> |
|||
<th>Data do Devolução</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
<th>Vínculo</th> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</thead> |
|||
<tbody> |
|||
{% for prop in object_list %} |
|||
<tr> |
|||
<td><a href="{% url 'sapl.materia:proposicao_detail' prop.pk %}">{{ prop.data_devolucao|date:"d/m/Y H:i:s" }}</a></td> |
|||
<td>{{ prop.tipo.descricao }}</td> |
|||
<td>{{ prop.descricao }}</td> |
|||
<td>{{ prop.autor }}</td> |
|||
<td> |
|||
{% if prop.materia_gerada %} |
|||
<a href="{% url 'sapl.materia:materialegislativa_detail' prop.materia_gerada.pk %}">{{ prop.materia_gerada.tipo.sigla }} {{ prop.materia_gerada.numero }}/{{ prop.materia_gerada.ano }}</a> |
|||
{% elif prop.documento_gerado %} |
|||
<a href="{% url 'sapl.materia:documentoacessorio_detail' prop.documento_gerado.pk %}">{{ prop.documento_gerado.materia.tipo.sigla }} {{ prop.documento_gerado.materia.numero }}/{{ prop.documento_gerado.materia.ano }}</a> |
|||
{% endif %} |
|||
</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
{% endblock %} |
|||
|
@ -1,29 +1,35 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block sections_nav %} {% include 'materia/subnav_prop.html'%} {% endblock sections_nav %} |
|||
|
|||
{% 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 %} |
|||
<fieldset> |
|||
<legend>Proposições Não Recebidas</legend> |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<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> |
|||
<th>Data de Envio</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</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 %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
{% endblock %} |
|||
|
@ -1,37 +1,43 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block sections_nav %} {% include 'materia/subnav_prop.html'%} {% endblock sections_nav %} |
|||
|
|||
{% block base_content %} |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Data do Recebimento</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
<th>Vínculo</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for prop in object_list %} |
|||
<fieldset> |
|||
<legend>Proposições Incorporadas</legend> |
|||
{% if not object_list %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<td><a href="{% url 'sapl.materia:proposicao_detail' prop.pk %}">{{ prop.data_recebimento|date:"d/m/Y H:i:s" }}</a></td> |
|||
<td>{{ prop.tipo.descricao }}</td> |
|||
<td>{{ prop.descricao }}</td> |
|||
<td>{{ prop.autor }}</td> |
|||
<td> |
|||
{% if prop.materia_gerada %} |
|||
<a href="{% url 'sapl.materia:materialegislativa_detail' prop.materia_gerada.pk %}">{{ prop.materia_gerada.tipo.sigla }} {{ prop.materia_gerada.numero }}/{{ prop.materia_gerada.ano }}</a> |
|||
{% elif prop.documento_gerado %} |
|||
<a href="{% url 'sapl.materia:documentoacessorio_detail' prop.documento_gerado.pk %}">{{ prop.documento_gerado.materia.tipo.sigla }} {{ prop.documento_gerado.materia.numero }}/{{ prop.documento_gerado.materia.ano }}</a> |
|||
{% endif %} |
|||
</td> |
|||
<th>Data do Recebimento</th> |
|||
<th>Tipo</th> |
|||
<th>Descrição</th> |
|||
<th>Autor</th> |
|||
<th>Vínculo</th> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</thead> |
|||
<tbody> |
|||
{% for prop in object_list %} |
|||
<tr> |
|||
<td><a href="{% url 'sapl.materia:proposicao_detail' prop.pk %}">{{ prop.data_recebimento|date:"d/m/Y H:i:s" }}</a></td> |
|||
<td>{{ prop.tipo.descricao }}</td> |
|||
<td>{{ prop.descricao }}</td> |
|||
<td>{{ prop.autor }}</td> |
|||
<td> |
|||
{% if prop.materia_gerada %} |
|||
<a href="{% url 'sapl.materia:materialegislativa_detail' prop.materia_gerada.pk %}">{{ prop.materia_gerada.tipo.sigla }} {{ prop.materia_gerada.numero }}/{{ prop.materia_gerada.ano }}</a> |
|||
{% elif prop.documento_gerado %} |
|||
<a href="{% url 'sapl.materia:documentoacessorio_detail' prop.documento_gerado.pk %}">{{ prop.documento_gerado.materia.tipo.sigla }} {{ prop.documento_gerado.materia.numero }}/{{ prop.documento_gerado.materia.ano }}</a> |
|||
{% endif %} |
|||
</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
</fieldset> |
|||
{% include 'paginacao.html'%} |
|||
{% endblock %} |
|||
|
@ -0,0 +1,6 @@ |
|||
<ul class="nav nav-pills navbar-right"> |
|||
<li class=""><a href="{% url 'sapl.materia:receber-proposicao' %}">Receber Proposição</a></li> |
|||
<li class=""><a href="{% url 'sapl.materia:proposicao-pendente' %}">Proposições Não Recebidas</a></li> |
|||
<li class=""><a href="{% url 'sapl.materia:proposicao-devolvida' %}">Proposições Não Incorporadas</a></li> |
|||
<li class=""><a href="{% url 'sapl.materia:proposicao-recebida' %}">Proposições Incorporadas</a></li> |
|||
</ul> |
@ -1,3 +0,0 @@ |
|||
{% load i18n %} |
|||
- title: {% trans 'Receber Proposição' %} |
|||
url: |
Loading…
Reference in new issue