From 0d47189b7dd22a2f056215aac7cc67e28cddca7b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 1 Nov 2022 23:48:46 +1100 Subject: [PATCH] Add info message is external plugins are not enabled --- InvenTree/templates/InvenTree/settings/plugin.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/InvenTree/templates/InvenTree/settings/plugin.html b/InvenTree/templates/InvenTree/settings/plugin.html index d36bf7cf2d..4776c9d1f0 100644 --- a/InvenTree/templates/InvenTree/settings/plugin.html +++ b/InvenTree/templates/InvenTree/settings/plugin.html @@ -31,6 +31,8 @@ +{% plugins_enabled as plug %} +

{% trans "Plugins" %}

@@ -38,7 +40,6 @@
{% url 'admin:plugin_pluginconfig_changelist' as url %} {% include "admin_button.html" with url=url %} - {% plugins_enabled as plug %} {% if plug %} {% endif %} @@ -46,6 +47,12 @@
+{% if not plug %} +
+ {% trans "External plugins are not enabled for this InvenTree installation" %}
+
+{% endif %} +