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:
@ -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 """
|
||||
|
Reference in New Issue
Block a user