Browse Source

Fixes #616: Correct display of custom URL fields

Jeremy Stretch 8 years ago
parent
commit
5a4ccbc066
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/inc/custom_fields_panel.html

+ 1 - 1
netbox/templates/inc/custom_fields_panel.html

@@ -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 %}