From 8e0d0fd986e8469367752db0d39ae5c138f9fe20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Cantu=C3=A1ria?= Date: Mon, 20 May 2019 13:56:09 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20aviso=20quando=20expediente=20n?= =?UTF-8?q?=C3=A3o=20tem=20conte=C3=BAdo=20(#2772)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #2771 --- sapl/templates/sessao/blocos_ata/expedientes.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sapl/templates/sessao/blocos_ata/expedientes.html b/sapl/templates/sessao/blocos_ata/expedientes.html index 55df4e9d9..1824e4836 100644 --- a/sapl/templates/sessao/blocos_ata/expedientes.html +++ b/sapl/templates/sessao/blocos_ata/expedientes.html @@ -3,8 +3,12 @@ {% if expedientes %} Expedientes: {% for e in expedientes %} - {{e.tipo}}: - {{e.conteudo|striptags|safe}} + {{e.tipo}}: + {% if e.conteudo %} + {{e.conteudo|striptags|safe}} + {% else %} + Sem registro + {% endif %} {% endfor %} {% endif %}