@ -203,6 +203,7 @@ def expedientes(lst_expedientes):
tmp += '\t\t\t<font color="white"> </font>\n'
tmp += '\t\t</para>\n'
for expediente in lst_expedientes:
if expediente['txt_expediente']:
tmp += '\t\t<para style="P2"><b>' + '<br/> ' + \
expediente['nom_expediente'] + ': </b></para>\n' + \
'<para style="P3">' + \
@ -3,11 +3,9 @@
{% if expedientes %}
<strong>Expedientes: </strong>
{% for e in expedientes %}
<b>{{e.tipo}}</b>:
{% if e.conteudo %}
{{e.conteudo|striptags|safe}}
{% else %}
Sem registro
{% endif %}
{% endfor %}