2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

add sidetree toggler function

This commit is contained in:
Matthias
2021-12-07 00:21:33 +01:00
parent b5ae9edc2e
commit f375ba96ae
4 changed files with 21 additions and 5 deletions

View File

@ -4,6 +4,9 @@
{% settings_value 'PART_SHOW_IMPORT' as show_import %}
{% include "sidebar_toggle.html" with target="sidetree" %}
<a class="m-1"></a>
{% trans "Subcategories" as text %}
{% include "sidebar_item.html" with label="subcategories" text=text icon="fa-sitemap" %}
{% trans "Parts" as text %}

View File

@ -5,7 +5,9 @@
{% settings_value "PART_INTERNAL_PRICE" as show_internal_price %}
{% settings_value 'PART_SHOW_RELATED' as show_related %}
{% include "sidebar_toggle.html" with target="#sidetree" %}
{% include "sidebar_toggle.html" with target="sidetree" %}
<a class="m-1"></a>
{% trans "Parameters" as text %}
{% include "sidebar_item.html" with label="part-parameters" text=text icon="fa-th-list" %}
{% if part.is_template %}