mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 09:53:34 -06:00
Fixes #616: Correct display of custom URL fields
This commit is contained in:
parent
49cbdc22da
commit
5a4ccbc066
@ -13,7 +13,7 @@
|
||||
{% elif field.type == 300 and value == False %}
|
||||
<i class="glyphicon glyphicon-remove text-danger" title="False"></i>
|
||||
{% elif field.type == 500 and value %}
|
||||
{{ value|urlizetrunc:75 }}
|
||||
<a href="{{ value }}">{{ value|truncatechars:70 }}</a>
|
||||
{% elif field.type == 200 or value %}
|
||||
{{ value }}
|
||||
{% elif field.required %}
|
||||
|
Loading…
Reference in New Issue
Block a user