2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

show inactive plugins in ui

This commit is contained in:
Matthias
2021-11-12 01:54:35 +01:00
parent b706ed2312
commit 55b4ba6207
2 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,12 @@ def plugin_list(*args, **kwargs):
return djangosettings.INTEGRATION_PLUGINS
@register.simple_tag()
def inactive_plugin_list(*args, **kwargs):
""" Return a list of all inactive integration plugins """
return djangosettings.INTEGRATION_PLUGINS_INACTIVE
@register.simple_tag()
def plugin_settings(plugin, *args, **kwargs):
""" Return a list of all settings for a plugin """