mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix plugin rendering in settings nav
This commit is contained in:
parent
584f53b85e
commit
b31a1aa4cc
@ -1,6 +1,7 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load inventree_extras %}
|
{% load inventree_extras %}
|
||||||
|
{% load plugin_extras %}
|
||||||
|
|
||||||
{% include "sidebar_header.html" with text="User Settings" icon='fa-user' %}
|
{% include "sidebar_header.html" with text="User Settings" icon='fa-user' %}
|
||||||
|
|
||||||
@ -34,7 +35,7 @@
|
|||||||
{% plugin_list as pl_list %}
|
{% plugin_list as pl_list %}
|
||||||
{% for plugin_key, plugin in pl_list.items %}
|
{% for plugin_key, plugin in pl_list.items %}
|
||||||
{% if plugin.registered_mixins %}
|
{% if plugin.registered_mixins %}
|
||||||
{% include "sidebar_item.html" with label='plugin-'|add:{{plugin_key}} text="plugin.human_name %}
|
{% include "sidebar_item.html" with label='plugin-'|add:plugin_key text=plugin.human_name %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user