fix plugin rendering in settings nav

This commit is contained in:
Matthias Mair 2021-10-30 18:10:56 +00:00
parent 584f53b85e
commit b31a1aa4cc

View File

@ -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 %}