mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
only show plugins with enabled mixins
This commit is contained in:
parent
2bb68fadf7
commit
fc691ebbfb
@ -130,7 +130,7 @@
|
||||
|
||||
{% plugin_list as pl_list %}
|
||||
{% for plugin_key, plugin in pl_list.items %}
|
||||
{% if plugin.has_settings %}
|
||||
{% if plugin.registered_mixins %}
|
||||
<li class='list-group-item' title='{{ plugin.plugin_name }}'>
|
||||
<a href='#' class='nav-toggle' id='select-plugin-{{plugin_key}}'>
|
||||
{{ plugin.plugin_name}}
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
{% plugin_list as pl_list %}
|
||||
{% for plugin_key, plugin in pl_list.items %}
|
||||
{% if plugin.has_settings %}
|
||||
{% if plugin.registered_mixins %}
|
||||
{% include "InvenTree/settings/plugin_settings.html" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user