Browse Source

Conserta bug em norma detail

pull/821/head
Eduardo Calil 8 years ago
parent
commit
224dc39686
  1. 4
      sapl/templates/norma/normajuridica_detail.html

4
sapl/templates/norma/normajuridica_detail.html

@ -16,7 +16,11 @@
{% if column.text|url %}
<div class="form-control-static"><a href="{{ column.text|safe }}"> {{ column.text|safe }} </a></div>
{% elif column.verbose_name == 'Matéria' %}
{% if object.materia.id %}
<div class="form-control-static"><a href="{% url 'sapl.materia:materialegislativa_detail' object.materia.id %}"> {{ column.text|safe }} </a></div>
{% else %}
<div class="form-control-static">{{ column.text|safe }}</div>
{% endif %}
{% else %}
<div class="form-control-static">{{ column.text|safe }}</div>
{% endif %}

Loading…
Cancel
Save