Fixes #616: Correct display of custom URL fields

This commit is contained in:
Jeremy Stretch 2016-10-14 11:08:09 -04:00
parent 49cbdc22da
commit 5a4ccbc066

View File

@ -13,7 +13,7 @@
{% elif field.type == 300 and value == False %} {% elif field.type == 300 and value == False %}
<i class="glyphicon glyphicon-remove text-danger" title="False"></i> <i class="glyphicon glyphicon-remove text-danger" title="False"></i>
{% elif field.type == 500 and value %} {% elif field.type == 500 and value %}
{{ value|urlizetrunc:75 }} <a href="{{ value }}">{{ value|truncatechars:70 }}</a>
{% elif field.type == 200 or value %} {% elif field.type == 200 or value %}
{{ value }} {{ value }}
{% elif field.required %} {% elif field.required %}