From 78900707436b44fe181cb8d3bcef5645952d8b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Tue, 7 Nov 2017 18:11:07 -0200 Subject: [PATCH] Lista so primeiro_autor (#1582) #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}}