From 0bbd18663547a25e53393ed6aec637529f64f60a Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 4 Nov 2021 15:58:52 -0400 Subject: [PATCH] Rearrange site view layout --- netbox/templates/dcim/site.html | 71 ++++++++++++++++----------------- 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index 308b09816..fe7f86d67 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -95,49 +95,48 @@ {% endif %} - - Physical Address - - {% if object.physical_address %} -
- - Map It - -
- {{ object.physical_address|linebreaksbr }} - {% else %} - - {% endif %} - - - - Shipping Address - {{ object.shipping_address|linebreaksbr|placeholder }} - - - GPS Coordinates - - {% if object.latitude and object.longitude %} -
- - Map It - -
- {{ object.latitude }}, {{ object.longitude }} - {% else %} - - {% endif %} - - - {% include 'inc/panels/contacts.html' %}
Contact Info
{% with deprecation_warning="This field will be removed in a future release. Please migrate this data to contact objects." %} + + + + + + + + + + + +
Physical Address + {% if object.physical_address %} + + {{ object.physical_address|linebreaksbr }} + {% else %} + + {% endif %} +
Shipping Address{{ object.shipping_address|linebreaksbr|placeholder }}
GPS Coordinates + {% if object.latitude and object.longitude %} + + {{ object.latitude }}, {{ object.longitude }} + {% else %} + + {% endif %} +
Contact Name @@ -180,8 +179,8 @@ {% include 'inc/panels/custom_fields.html' %} - {% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} + {% include 'inc/panels/contacts.html' %} {% plugin_left_page object %}