diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 6cc859749..2be860c62 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -7,7 +7,7 @@ {% block content %}
-
+
Device @@ -152,8 +152,7 @@ {% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% plugin_left_page object %} -
-
+
Management
@@ -286,7 +285,31 @@
{% include 'inc/panels/contacts.html' %} {% include 'inc/panels/image_attachments.html' %} - {% plugin_right_page object %} +
+
+
+ +
+ {% if object.rack %} +
+
+
+

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 %}