diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 253d905f2..6426ef6e2 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -286,6 +286,24 @@ {% include 'inc/panels/contacts.html' %} {% include 'inc/panels/image_attachments.html' %} + + {% if object.rack and object.position %} +
+
+
+

Front

+ {% include 'dcim/inc/rack_elevation.html' with object=object.rack face='front' extra_params=svg_extra %} +
+
+
+
+

Rear

+ {% include 'dcim/inc/rack_elevation.html' with object=object.rack face='rear' extra_params=svg_extra %} +
+
+
+ {% endif %} + {% plugin_right_page object %}