mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 07:31:10 +00:00
first working example
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
{% include 'part/category_sidebar.html' %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidetree %}
|
||||
<div id="tree"></div>
|
||||
{% endblock %}
|
||||
|
||||
{% block heading %}
|
||||
{% if category %}
|
||||
{% trans "Part Category" %}: {{ category.name }}
|
||||
@@ -240,6 +244,7 @@
|
||||
{% endif %}
|
||||
|
||||
enableSidebar('category');
|
||||
enableSidetree('category');
|
||||
|
||||
loadPartCategoryTable(
|
||||
$('#subcategory-table'), {
|
||||
|
@@ -9,6 +9,10 @@
|
||||
{% include 'part/part_sidebar.html' %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidetree %}
|
||||
<div id="tree"></div>
|
||||
{% endblock %}
|
||||
|
||||
{% block page_content %}
|
||||
|
||||
<div class='panel panel-hidden' id='panel-part-stock'>
|
||||
@@ -1061,5 +1065,6 @@
|
||||
{% endif %}
|
||||
|
||||
enableSidebar('part');
|
||||
enableSidetree('part');
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user