Sistema de Apoio ao Processo Legislativo
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.
 
 
 
 
 

120 lines
3.8 KiB

{% extends "crud/detail.html" %}
{% load i18n %}
{% load crispy_forms_tags common_tags%}
{% load waffle_tags %}
{% block base_content %}
<div class="float-left">
{% with url_reverse='sapl.sessao:pauta_sessao_detail' sessao=object.pk %}
{% include "crud/format_options.html" %}
{% endwith %}
</div>
<br />
<div align=right><a href="{% url 'sapl.sessao:pauta_sessao_detail' object.pk %}pdf"> Impressão PDF</a></li></div>
<fieldset>
<legend>Identificação Básica</legend>
<table class="table">
<thead class="thead-default">
<tr>
{% for b in basica %}
<td>{{b}}</td>
{% endfor %}
</tr>
</thead>
</table>
</fieldset>
<fieldset>
<legend>Correspondências</legend>
<table class="table">
<thead class="thead-default">
{% for c in correspondencias %}
<tr>
<td>
<strong>({{c.tipo}})</strong>
<a href="{% url 'sapl.base:sapl_index' %}docadm/{{c.id}}" target="_blank">
<strong>{{c.epigrafe}}</strong>
</a>
<br>
<strong>Data: </strong>{{c.data}}{% if c.interessado %} - <strong>Interessado: </strong>{{c.interessado}}{% endif %}<br>
<strong>Assunto:</strong> {{c.assunto}}
</td>
</tr>
{% endfor %}
</thead>
</table>
</fieldset>
<fieldset>
<legend>Expedientes</legend>
<table class="table">
<thead class="thead-default">
{% for e in expedientes %}
<tr>
<td>
<b>{{e.tipo}}: </b> <br><br>
<div style="border:0.5px solid #BAB4B1; border-radius: 10px;
background-color: rgba(225, 225, 225, .8);">
<p>{{e.conteudo|safe}}</p>
</div>
</td>
</tr>
{% endfor %}
</thead>
</table>
</fieldset>
<fieldset>
<legend>Matérias do Expediente</legend>
{% if materia_expediente %}
<table class="table table-striped">
<thead><tr><th>Matéria</th><th>Ementa</th> <th>Situação</th> </tr></thead>
{% for m in materia_expediente %}
<tr>
<td style="width:20%;">
{{m.numero}} -
<a href="{% url 'sapl.materia:materialegislativa_detail' m.id %}" target="_blank">
{{m.titulo}}
</a><br/>
<b>Processo</b>: {{ m.processo }}<br/>
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }}<br/>
<b>Turno:</b> {{ m.turno }}
</td>
<td style="width:60%;">
{{m.ementa|dont_break_out}}
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %}
</td>
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td>
</tr>
{% endfor %}
</table>
{% else %}
<strong>Não existem Matérias de Expediente para essa Sessão Plenária</strong>
{% endif %}
</fieldset>
<fieldset>
<legend>Matérias da Ordem do Dia</legend>
{% if materias_ordem %}
<table class="table table-striped">
<thead><tr><th>Matéria</th><th>Ementa</th> <th>Situação</th> </tr></thead>
{% for m in materias_ordem %}
<tr>
<td style="width:20%;">
{{m.numero}} -
<a target="_blank" href="{% url 'sapl.materia:materialegislativa_detail' m.id %}">{{m.titulo}}</a><br/>
<b>Processo</b>: {{ m.processo }}<br/>
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }}<br/>
<b>Turno:</b> {{ m.turno }}
</td>
<td style="width:60%;">
{{m.ementa|dont_break_out}}
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %}
</td>
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td>
</tr>
{% endfor %}
</table>
{% else %}
<strong>Não existem Matérias de Ordem do Dia para essa Sessão Plenária</strong>
{% endif %}
</fieldset>
{% endblock base_content %}