From 1c8cd3a7388452f3430b6baca69cc3d1ee619047 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 3 Oct 2022 08:09:27 -0700 Subject: [PATCH] 8424 fix merge --- netbox/templates/dcim/device.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 %}