2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Loaded both modals into single include

This commit is contained in:
Oliver
2018-04-27 21:35:36 +10:00
parent e1e3cc71e6
commit c4e305bde6
9 changed files with 31 additions and 28 deletions

View File

@ -11,8 +11,7 @@
{% include 'part/tabs.html' with tab='bom' %}
{% include 'modal.html' %}
{% include 'modal_delete.html' %}
{% include 'modals.html' %}
<h3>Bill of Materials</h3>

View File

@ -31,8 +31,7 @@
</div>
{% include 'modal.html' %}
{% include 'modal_delete.html' %}
{% include 'modals.html' %}
{% endblock %}

View File

@ -6,8 +6,7 @@
<h3>Part Details</h3>
{% include 'modal.html' %}
{% include 'modal_delete.html' %}
{% include 'modals.html' %}
<table class='table table-striped'>
<tr>

View File

@ -5,7 +5,7 @@
{% include "part/cat_link.html" with category=category %}
{% include 'modal.html' %}
{% include 'modals.html' %}
{% if children.all|length > 0 %}
<h4>Part Categories</h4>

View File

@ -35,7 +35,7 @@
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>
</div>
{% include 'modal.html' %}
{% include 'modals.html' %}
{% endblock %}