From 24d6941cc40e4a537878c83d73d4c45db6dc69ad Mon Sep 17 00:00:00 2001 From: Rhys Barrie Date: Fri, 29 Oct 2021 14:07:02 -0400 Subject: [PATCH 1/2] netbox-community/netbox#7668: Add 'View Elevations' button to location detail page --- netbox/templates/dcim/location.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html index b062ddcb5..0184947f6 100644 --- a/netbox/templates/dcim/location.html +++ b/netbox/templates/dcim/location.html @@ -9,6 +9,12 @@ {% endfor %} {% endblock %} +{% block extra_controls %} + +  View Elevations + +{% endblock %} + {% block content %}
From d528614cbf5673918956b6c597a1910f6adbd3bd Mon Sep 17 00:00:00 2001 From: Rhys Barrie Date: Mon, 1 Nov 2021 11:17:15 -0400 Subject: [PATCH 2/2] netbox-community/netbox#7668: Relocate elevations button to location details table --- netbox/templates/dcim/location.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html index 0184947f6..0c254e413 100644 --- a/netbox/templates/dcim/location.html +++ b/netbox/templates/dcim/location.html @@ -9,12 +9,6 @@ {% endfor %} {% endblock %} -{% block extra_controls %} - -  View Elevations - -{% endblock %} - {% block content %}
@@ -27,14 +21,17 @@ Name {{ object.name }} + Description {{ object.description|placeholder }} + Site {{ object.site }} + Parent @@ -45,18 +42,25 @@ {% endif %} + Racks {{ rack_count }} + + + + + Devices {{ device_count }} +