2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

mixin registry

This commit is contained in:
Matthias
2021-09-19 17:32:44 +02:00
parent 369f92abf1
commit 6f8909c710
2 changed files with 40 additions and 3 deletions

View File

@ -36,6 +36,14 @@
{% if settings %}
<span class='badge'><a class='nav-toggle text-success' id='select-plugin-{{plugin_key}}'>{% trans 'Has settings' %}</a></span>
{% endif %}
{% define plugin.registered_mixins as mixin_list %}
{% if mixin_list %}
{% for mixin in mixin_list %}
<span class='badge'><a class='nav-toggle text-success' id='select-plugin-{{plugin_key}}'>
{% blocktrans with name=mixin.human_name%}has {{name}}{% endblocktrans %}</a></span>
{% endfor %}
{% endif %}
</td>
<td># TODO</td>
</tr>