From 573bc3116d9b149dd9f6b784f46bac81fc0f7473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Tue, 30 May 2017 14:38:20 -0300 Subject: [PATCH] Fix #1141 (#1146) --- sapl/templates/materia/materialegislativa_filter.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sapl/templates/materia/materialegislativa_filter.html b/sapl/templates/materia/materialegislativa_filter.html index cacc0ad9f..d7b0bb3ec 100644 --- a/sapl/templates/materia/materialegislativa_filter.html +++ b/sapl/templates/materia/materialegislativa_filter.html @@ -60,12 +60,11 @@ {% endif %} {% if m.autoria_set.all %} - Autores: + Autor: {% for a in m.autoria_set.all %} - {% if not forloop.first %} - ,    - {% endif %} -  {{a.autor.nome}} + {% if a.primeiro_autor %} +  {{a.autor.nome}} + {% endif %} {% endfor %}
{% endif %}