From b7a90dd09a4c90fd7c3f507432a68262a7e45480 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 17 Aug 2016 13:40:06 -0400 Subject: [PATCH] Added icon for boolean fields --- netbox/templates/inc/custom_fields_panel.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/netbox/templates/inc/custom_fields_panel.html b/netbox/templates/inc/custom_fields_panel.html index a019a985d..6998c0e00 100644 --- a/netbox/templates/inc/custom_fields_panel.html +++ b/netbox/templates/inc/custom_fields_panel.html @@ -8,7 +8,11 @@ {{ field }} - {% if value != None %} + {% if value == True %} + + {% elif value == False %} + + {% elif value %} {{ value }} {% elif field.required %} Not defined