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

Expose regsitry in templates using existing context processor for settings

This commit is contained in:
Jeremy Stretch
2020-03-27 13:18:51 -04:00
parent fd6739f0cc
commit dd9fc4173d
5 changed files with 8 additions and 16 deletions

View File

@@ -504,7 +504,7 @@
</li>
</ul>
</li>
{% if plugin_menu_items %}
{% if registry.plugin_menu_items %}
{% include 'inc/plugin_menu_items.html' %}
{% endif %}
</ul>