Browse Source

Tweak navbar tab highlighting

Jeremy Stretch 9 years ago
parent
commit
02647c21fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/_base.html

+ 1 - 1
netbox/templates/_base.html

@@ -42,7 +42,7 @@
                             {% endif %}
                         </ul>
                     </li>
-                    <li class="dropdown{% if '/devices/' in request.path or '/device-types/' in request.path or '/device-roles/' in request.path or '/manufacturers/' in request.path %} active{% endif %}">
+                    <li class="dropdown{% if '/dcim/devices/' in request.path or '/device-types/' in request.path or '/device-roles/' in request.path or '/manufacturers/' in request.path %} active{% endif %}">
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Devices <span class="caret"></span></a>
                         <ul class="dropdown-menu">
                             <li><a href="{% url 'dcim:device_list' %}"><i class="glyphicon glyphicon-search" aria-hidden="true"></i> Devices</a></li>