|
@ -3,7 +3,7 @@ |
|
|
{% load tz %} |
|
|
{% load tz %} |
|
|
{% block sub_actions %} |
|
|
{% block sub_actions %} |
|
|
{{block.super}} |
|
|
{{block.super}} |
|
|
{% if user == object.autor.user %} |
|
|
{% if user.autoruser.autor == object.autor %} |
|
|
<div class="actions btn-group btn-group-sm {%block sub_actions_pull%}{% endblock%}" role="group"> |
|
|
<div class="actions btn-group btn-group-sm {%block sub_actions_pull%}{% endblock%}" role="group"> |
|
|
{% if object.texto_articulado.exists %} |
|
|
{% if object.texto_articulado.exists %} |
|
|
<a class="btn btn-success" href="{% url 'sapl.materia:proposicao_ta' object.pk%}">{% trans "Texto Eletrônico" %}</a> |
|
|
<a class="btn btn-success" href="{% url 'sapl.materia:proposicao_ta' object.pk%}">{% trans "Texto Eletrônico" %}</a> |
|
@ -15,7 +15,7 @@ |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endblock sub_actions%} |
|
|
{% endblock sub_actions%} |
|
|
{% block editions %} |
|
|
{% block editions %} |
|
|
{% if user == object.autor.user %} |
|
|
{% if user.autoruser.autor == object.autor %} |
|
|
{% if object.data_envio %} |
|
|
{% if object.data_envio %} |
|
|
{% block editions_actions_return %} |
|
|
{% block editions_actions_return %} |
|
|
<div class="actions btn-group" role="group"> |
|
|
<div class="actions btn-group" role="group"> |
|
@ -39,7 +39,7 @@ |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endblock editions %} |
|
|
{% endblock editions %} |
|
|
{% block detail_content %} |
|
|
{% block detail_content %} |
|
|
{% if user == object.autor.user %} |
|
|
{% if user.autoruser.autor == object.autor %} |
|
|
<h2 class="legend">{% model_verbose_name 'sapl.materia.models.Proposicao' %}</h2> |
|
|
<h2 class="legend">{% model_verbose_name 'sapl.materia.models.Proposicao' %}</h2> |
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-sm-3"> |
|
|
<div class="col-sm-3"> |
|
|