From 39afbc5e9bdf23aecc7af2c126fa594e514ed379 Mon Sep 17 00:00:00 2001 From: Talitha Pumar Date: Mon, 29 Oct 2018 10:13:12 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20#2321=20-=20Visualizar=20autor=20da=20mat?= =?UTF-8?q?eria=20no=20detalhe=20da=20proposi=C3=A7=C3=A3o=20(#2335)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix #2321 * add div faltando --- sapl/templates/materia/proposicao_detail.html | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/sapl/templates/materia/proposicao_detail.html b/sapl/templates/materia/proposicao_detail.html index e9779f2fd..5690b6437 100644 --- a/sapl/templates/materia/proposicao_detail.html +++ b/sapl/templates/materia/proposicao_detail.html @@ -129,14 +129,31 @@

{% trans "Vínculo com a Matéria Legislativa" %}

+ Matéria
+      {{object.materia_de_vinculo}} -
+
+ {% if object.materia_de_vinculo.autoria_set.all %} + Autores + {% for a in object.materia_de_vinculo.autoria_set.all %} +
    {{a.autor}} + {% endfor %} + {% endif %} +
+ Texto Original +
+      + + {{object.materia_de_vinculo.texto_original| to_str | split:"/" | get_last_item_from_list:-1}} + +
+ {% endif %} - + {% if not AppConfig.receber_recibo_proposicao %} {% if object.hash_code %}