diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html index dae6d78ff..48700588a 100644 --- a/netbox/templates/dcim/location.html +++ b/netbox/templates/dcim/location.html @@ -71,30 +71,33 @@
-
-
- Non-Racked Devices -
-
- - {% if perms.dcim.add_device %} - - {% endif %} -
Child Locations
+ {% if perms.dcim.add_location %} + + {% endif %} +
+
+
Non-Racked Devices
+
+ {% if perms.dcim.add_device %} + + {% endif %}
{% plugin_full_width_page object %}
diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index 1d57de19b..e0f44261f 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -131,49 +131,6 @@
{% include 'inc/panels/related_objects.html' with filter_name='site_id' %} -
-
Locations
-
- {% if locations %} - - - - - - - - {% for location in locations %} - - - - - - - {% endfor %} -
LocationRacksDevices
- {% for i in location.level|as_range %}{% endfor %} - {{ location|linkify }} - - {{ location.rack_count }} - - {{ location.device_count }} - - - - -
- {% else %} - None - {% endif %} -
- {% if perms.dcim.add_location %} - - {% endif %} -
{% include 'inc/panels/image_attachments.html' %} {% plugin_right_page object %}
@@ -189,28 +146,24 @@ {% if perms.dcim.add_location %} {% endif %}
-
- Non-Racked Devices -
-
- - {% if perms.dcim.add_device %} - - {% endif %} +
Non-Racked Devices
+
+ {% if perms.dcim.add_device %} + + {% endif %}
{% plugin_full_width_page object %}