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. 14
      sapl/templates/materia/materialegislativa_filter.html

14
sapl/templates/materia/materialegislativa_filter.html

@ -60,12 +60,14 @@
{% 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 %}
{% endfor %} &nbsp;{{a.autor}}
{% endif %}
{% endfor %}
</br> </br>
{% endif %} {% endif %}
{% if m.tramitacao_set.last.unidade_tramitacao_destino %} {% if m.tramitacao_set.last.unidade_tramitacao_destino %}

Loading…
Cancel
Save