diff --git a/netbox/templates/dcim/frontport.html b/netbox/templates/dcim/frontport.html
index 036a7d172..f93e8282f 100644
--- a/netbox/templates/dcim/frontport.html
+++ b/netbox/templates/dcim/frontport.html
@@ -58,32 +58,10 @@
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
+ {% include 'dcim/inc/panels/inventory_items.html' %}
{% plugin_left_page object %}
-
-
-
- {% if rear_port_mappings %}
-
-
- | {% trans "Position" %} |
- {% trans "Rear Port" %} |
-
-
- {% endif %}
- {% for mapping in rear_port_mappings %}
-
- | {{ mapping.front_port_position }} |
-
- {{ mapping.rear_port }}:{{ mapping.rear_port_position }}
- |
-
- {% empty %}
- {% trans "No mappings defined" %}
- {% endfor %}
-
-
{% if object.mark_connected %}
@@ -145,7 +123,29 @@
{% endif %}
- {% include 'dcim/inc/panels/inventory_items.html' %}
+
+
+
+ {% if rear_port_mappings %}
+
+
+ | {% trans "Position" %} |
+ {% trans "Rear Port" %} |
+
+
+ {% endif %}
+ {% for mapping in rear_port_mappings %}
+
+ | {{ mapping.front_port_position }} |
+
+ {{ mapping.rear_port }}:{{ mapping.rear_port_position }}
+ |
+
+ {% empty %}
+ {% trans "No mappings defined" %}
+ {% endfor %}
+
+
{% plugin_right_page object %}
diff --git a/netbox/templates/dcim/rearport.html b/netbox/templates/dcim/rearport.html
index 872a437dc..a4c111ecf 100644
--- a/netbox/templates/dcim/rearport.html
+++ b/netbox/templates/dcim/rearport.html
@@ -58,32 +58,10 @@
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
+ {% include 'dcim/inc/panels/inventory_items.html' %}
{% plugin_left_page object %}
-
-
-
- {% if front_port_mappings %}
-
-
- | {% trans "Position" %} |
- {% trans "Front Port" %} |
-
-
- {% endif %}
- {% for mapping in front_port_mappings %}
-
- | {{ mapping.rear_port_position }} |
-
- {{ mapping.front_port }}:{{ mapping.front_port_position }}
- |
-
- {% empty %}
- {% trans "No mappings defined" %}
- {% endfor %}
-
-
{% if object.mark_connected %}
@@ -139,7 +117,29 @@
{% endif %}
- {% include 'dcim/inc/panels/inventory_items.html' %}
+
+
+
+ {% if front_port_mappings %}
+
+
+ | {% trans "Position" %} |
+ {% trans "Front Port" %} |
+
+
+ {% endif %}
+ {% for mapping in front_port_mappings %}
+
+ | {{ mapping.rear_port_position }} |
+
+ {{ mapping.front_port }}:{{ mapping.front_port_position }}
+ |
+
+ {% empty %}
+ {% trans "No mappings defined" %}
+ {% endfor %}
+
+
{% plugin_right_page object %}