Browse Source

Mostra todos os autores no resultado da pesquisa

pull/1288/head
Rogério Frá 9 years ago
committed by GitHub
parent
commit
56919415d4
  1. 12
      sapl/templates/materia/materialegislativa_filter.html

12
sapl/templates/materia/materialegislativa_filter.html

@ -60,11 +60,13 @@
{% endif %} {% endif %}
{% if m.autoria_set.all %} {% if m.autoria_set.all %}
<strong>Autor:</strong> <strong>Autor:</strong>
{% for a in m.autoria_set.all %} {% for a in m.autoria_set.all %}
{% if a.primeiro_autor %} {% if not forloop.first %}
&nbsp;{{a.autor.nome}} </br> {{a.autor}}
{% endif %} {% else %}
&nbsp;{{a.autor}}
{% endif %}
{% endfor %} {% endfor %}
</br> </br>
{% endif %} {% endif %}

Loading…
Cancel
Save