diff --git a/netbox/templates/dcim/devicetype.html b/netbox/templates/dcim/devicetype.html index 7f7b0d1f9..df567a102 100644 --- a/netbox/templates/dcim/devicetype.html +++ b/netbox/templates/dcim/devicetype.html @@ -42,7 +42,7 @@ - + @@ -54,7 +54,13 @@ - +
Manufacturer{{ devicetype.manufacturer }}{{ devicetype.manufacturer }}
Model Name
Full Depth{{ devicetype.is_full_depth|yesno|capfirst }} + {% if devicetype.is_full_depth %} + + {% else %} + + {% endif %} +
@@ -64,20 +70,64 @@ - - + + - - + + - - + + - - + +
Is a Console Server{{ devicetype.is_console_server|yesno|capfirst }} + {% if devicetype.is_console_server %} + + {% else %} + + {% endif %} + + Console Server
+ This device {% if devicetype.is_console_server %}has{% else %}does not have{% endif %} console server ports +
Is a PDU{{ devicetype.is_pdu|yesno|capfirst }} + {% if devicetype.is_pdu %} + + {% else %} + + {% endif %} + + PDU
+ This device {% if devicetype.is_pdu %}has{% else %}does not have{% endif %} power outlets +
Is a Network Device{{ devicetype.is_network_device|yesno|capfirst }} + {% if devicetype.is_network_device %} + + {% else %} + + {% endif %} + + Network Device
+ This device {% if devicetype.is_network_device %}has{% else %}does not have{% endif %} non-management network interfaces +
Parent/Child Role{{ devicetype.get_subdevice_role_display }} + {% if devicetype.subdevice_role == True %} + + {% elif devicetype.subdevice_role == False %} + + {% else %} + + {% endif %} + + Parent/Child
+ {% if devicetype.subdevice_role == True %} + This device has device bays for mounting child devices + {% elif devicetype.subdevice_role == False %} + This device can only be mounted in a parent device + {% else %} + This device does not have device bays + {% endif %} +