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.
35 lines
1.4 KiB
35 lines
1.4 KiB
{% extends "crud/detail.html" %}
|
|
{% load i18n %}
|
|
{% block sub_actions %}
|
|
{{ block.super }}
|
|
{% if object.em_tramitacao %}
|
|
<div class="actions btn-group btn-group-sm" role="group">
|
|
<a href="{% url 'sapl.materia:acompanhar_materia' object.id %}" class="btn btn-default">Acompanhar Matéria</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock sub_actions %}
|
|
{% block detail_content %}
|
|
{{ block.super }}
|
|
{% if object.registrovotacao_set.exists %}
|
|
<strong>Data Votação:</strong>
|
|
{% for rv in object.registrovotacao_set.all %}
|
|
{% if rv.ordem %}
|
|
<a href="{% url 'sapl.sessao:ordemdia_list' rv.ordem.sessao_plenaria_id %}">
|
|
{{ rv.ordem.sessao_plenaria.data_inicio }}
|
|
</a>
|
|
{% elif rv.expediente %}
|
|
<a href="{% url 'sapl.sessao:expedientemateria_list' rv.expediente.sessao_plenaria_id %}">
|
|
{{ rv.expediente.sessao_plenaria.data_inicio }}
|
|
</a>
|
|
{% endif %}
|
|
</br>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if object.normajuridica_set.last %}
|
|
<p class="control-label">  Norma Jurídica Relacionada</p>
|
|
<div class="actions btn-group btn-group-sm" role="group">
|
|
  <a href="{% url 'sapl.norma:normajuridica_detail' object.normajuridica_set.last.id %}">
|
|
{{ object.normajuridica_set.last }}</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock detail_content %}
|
|
|