From 5a4ccbc06670e367bb3b62bb4f0535ffa0d2e670 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 14 Oct 2016 11:08:09 -0400 Subject: [PATCH] Fixes #616: Correct display of custom URL fields --- netbox/templates/inc/custom_fields_panel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/inc/custom_fields_panel.html b/netbox/templates/inc/custom_fields_panel.html index 2450e3031..a185a2ae7 100644 --- a/netbox/templates/inc/custom_fields_panel.html +++ b/netbox/templates/inc/custom_fields_panel.html @@ -13,7 +13,7 @@ {% elif field.type == 300 and value == False %} {% elif field.type == 500 and value %} - {{ value|urlizetrunc:75 }} + {{ value|truncatechars:70 }} {% elif field.type == 200 or value %} {{ value }} {% elif field.required %}