mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 03:16:25 -06:00
Fixes #616: Correct display of custom URL fields
This commit is contained in:
parent
0da6deaa53
commit
948cd312c2
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user