mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Merge branch 'feature' into feature-object-filter
# Conflicts: # netbox/project-static/dist/netbox-dark.css # netbox/project-static/dist/netbox-light.css # netbox/project-static/styles/netbox.scss # netbox/project-static/styles/select.scss
This commit is contained in:
@@ -18,15 +18,15 @@
|
||||
<span class="nav-group-label">{{ group.label }}</span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
{% for item in group.items %}
|
||||
{# Each Item #}
|
||||
{% if request.user|has_perms:item.permissions %}
|
||||
<li class="nav-item">
|
||||
<li class="nav-item{% if not item.buttons %} no-buttons{% endif %}">
|
||||
<a href="{% url item.link %}" class="nav-link">
|
||||
<span class="sidenav-normal">{{ item.link_text }}</span>
|
||||
</a>
|
||||
|
||||
|
||||
{# Menu item buttons (if any) #}
|
||||
{% if item.buttons %}
|
||||
<div class="btn-group px-2">
|
||||
|
Reference in New Issue
Block a user