From b31a1aa4cce0567061cd6072fa56ec376b5b6d33 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 30 Oct 2021 18:10:56 +0000 Subject: [PATCH] fix plugin rendering in settings nav --- InvenTree/templates/InvenTree/settings/sidebar.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/templates/InvenTree/settings/sidebar.html b/InvenTree/templates/InvenTree/settings/sidebar.html index 1dedeeee63..c54b80b164 100644 --- a/InvenTree/templates/InvenTree/settings/sidebar.html +++ b/InvenTree/templates/InvenTree/settings/sidebar.html @@ -1,6 +1,7 @@ {% load i18n %} {% load static %} {% load inventree_extras %} +{% load plugin_extras %} {% include "sidebar_header.html" with text="User Settings" icon='fa-user' %} @@ -34,7 +35,7 @@ {% plugin_list as pl_list %} {% for plugin_key, plugin in pl_list.items %} {% 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 %} {% endfor %}