1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Update documentation for #4401

This commit is contained in:
Jeremy Stretch
2020-03-25 14:33:32 -04:00
parent 9ea30c057f
commit d0edd9d5c1
3 changed files with 30 additions and 17 deletions

View File

@@ -4,8 +4,8 @@
{% for section_name, link_items in plugin_nav_menu_links.items %}
<li class="dropdown-header">{{ section_name }}</li>
{% for link_item in link_items %}
{% if link_item.link_permission %}
<li{% if not link_item.link_permission in perms %} class="disabled"{% endif %}>
{% if link_item.permission %}
<li{% if not link_item.permission in perms %} class="disabled"{% endif %}>
{% else %}
<li>
{% endif %}