From a8cbe4c4ea2fb23473e9494a6d8b6985df00eb49 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Thu, 8 Sep 2016 14:45:13 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20mensagem=20ao=20detail.html,=20quand?= =?UTF-8?q?o=20o=20campo=20=C3=A9=20vazio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/crud/detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sapl/templates/crud/detail.html b/sapl/templates/crud/detail.html index e4ce60e14..c981cd9ac 100644 --- a/sapl/templates/crud/detail.html +++ b/sapl/templates/crud/detail.html @@ -28,7 +28,11 @@

{{ column.verbose_name }}

-

{{ column.text|safe }}

+ {% if column.text %} +

{{ column.text|safe }}

+ {% else %} +

Não informado

+ {% endif %}