mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Template fixes
This commit is contained in:
		| @@ -40,7 +40,8 @@ | ||||
| {% include "InvenTree/settings/po.html" %} | ||||
| {% include "InvenTree/settings/so.html" %} | ||||
|  | ||||
| {% if plugins_enabled %} | ||||
| {% plugins_enabled as plug %} | ||||
| {% if plug %} | ||||
| {% include "InvenTree/settings/plugin.html" %} | ||||
| {% plugin_list as pl_list %} | ||||
| {% for plugin_key, plugin in pl_list.items %} | ||||
| @@ -335,7 +336,8 @@ $("#import-part").click(function() { | ||||
|     launchModalForm("{% url 'api-part-import' %}?reset", {}); | ||||
| }); | ||||
|  | ||||
| {% if plugins_enabled %} | ||||
| {% plugins_enabled as plug %} | ||||
| {% if plug %} | ||||
| $("#install-plugin").click(function() { | ||||
|     installPlugin(); | ||||
| }); | ||||
|   | ||||
| @@ -47,7 +47,8 @@ | ||||
| {% trans "Sales Orders" as text %} | ||||
| {% include "sidebar_item.html" with label='sales-order' text=text icon="fa-truck" %} | ||||
|  | ||||
| {% if plugins_enabled %} | ||||
| {% plugins_enabled as plug %} | ||||
| {% if plug %} | ||||
| {% include "sidebar_header.html" with text="Plugin Settings" %} | ||||
| {% include "sidebar_item.html" with label='plugin' text="Plugins" icon="fa-plug" %} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user