From fbb67d38b61d69cf95840dc3fc14ecb1a806e01f Mon Sep 17 00:00:00 2001 From: Pieter Lambrecht Date: Mon, 10 Apr 2023 21:05:02 +0200 Subject: [PATCH] Dropdown only --- netbox/templates/dcim/rack.html | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/netbox/templates/dcim/rack.html b/netbox/templates/dcim/rack.html index 7276a580a..4f71c9ca7 100644 --- a/netbox/templates/dcim/rack.html +++ b/netbox/templates/dcim/rack.html @@ -18,13 +18,11 @@ {% endblock %} {% block extra_controls %} -
+
{% if prev_rack %} {{ prev_rack }} - {% else %} - {% endif %} {% if peer_racks %} @@ -40,24 +38,11 @@ {% if next_rack %} - {{ next_rack }} + {{ next_rack }} - {% else %} - {% endif %}
- -
- {% if peer_racks %} -
- {% for peer_rack in peer_racks %} - {{ peer_rack }} - {% endfor %} -
- {% endif %} -
- {% endblock %} {% block content %}