From a60918d1c11c858659a8a682b887004e73f405c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Tue, 7 Nov 2017 16:40:32 -0200 Subject: [PATCH] Lista so primeiro_autor #1581 --- .../materia/impressos/ficha_pdf.html | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/sapl/templates/materia/impressos/ficha_pdf.html b/sapl/templates/materia/impressos/ficha_pdf.html index 99ded497e..07ad4092a 100644 --- a/sapl/templates/materia/impressos/ficha_pdf.html +++ b/sapl/templates/materia/impressos/ficha_pdf.html @@ -45,9 +45,13 @@ body #despacho_inicial { font-family: Arial; + line-height: 150%; border-style: none; text-align: justify; font-size: small; + height:130px; + padding: 0pt 5pt 0pt 0pt; + margin-right:100px; } @media print { @@ -88,19 +92,8 @@ body
- - {% if materia.autoria_set.all %} - Autor: - {% for a in materia.autoria_set.all %} - {% if not forloop.first %} - {{a.autor}}
- {% else %} - {{a.autor}}
- {% endif %} - {% endfor %} -
- {% endif %} -
+ + Autor: {{materia.autoria_set.first.autor.nome}}