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