diff --git a/netbox/templates/inc/custom_fields_panel.html b/netbox/templates/inc/custom_fields_panel.html index fed172aa6..2450e3031 100644 --- a/netbox/templates/inc/custom_fields_panel.html +++ b/netbox/templates/inc/custom_fields_panel.html @@ -8,13 +8,13 @@ {{ field }} - {% if value == True %} + {% if field.type == 300 and value == True %} - {% elif value == False %} + {% elif field.type == 300 and value == False %} {% elif field.type == 500 and value %} {{ value|urlizetrunc:75 }} - {% elif value %} + {% elif field.type == 200 or value %} {{ value }} {% elif field.required %} Not defined