mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Merge pull request #2235 from SchrodingersGat/duplicate-bom-import-fix
Template fix for BOM upload
This commit is contained in:
commit
d0e80b7638
@ -8,18 +8,15 @@
|
|||||||
{% include "sidebar_link.html" with url=url text="Return to BOM" icon="fa-undo" %}
|
{% include "sidebar_link.html" with url=url text="Return to BOM" icon="fa-undo" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block heading %}
|
||||||
|
{% trans "Upload Bill of Materials" %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
<div class='panel' id='panel-upload-file'>
|
{% block actions %}
|
||||||
<div class='panel-heading'>
|
{% endblock %}
|
||||||
{% block heading %}
|
|
||||||
<h4>{% trans "Upload Bill of Materials" %}</h4>
|
|
||||||
{{ wizard.form.media }}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
<div class='panel-content'>
|
|
||||||
{% block details %}
|
|
||||||
|
|
||||||
|
{% block page_info %}
|
||||||
|
<div class='panel-content'>
|
||||||
<p>{% blocktrans with step=wizard.steps.step1 count=wizard.steps.count %}Step {{step}} of {{count}}{% endblocktrans %}
|
<p>{% blocktrans with step=wizard.steps.step1 count=wizard.steps.count %}Step {{step}} of {{count}}{% endblocktrans %}
|
||||||
{% if description %}- {{ description }}{% endif %}</p>
|
{% if description %}- {{ description }}{% endif %}</p>
|
||||||
|
|
||||||
@ -54,12 +51,12 @@
|
|||||||
<button type="submit" class="save btn btn-outline-secondary">{% trans "Upload File" %}</button>
|
<button type="submit" class="save btn btn-outline-secondary">{% trans "Upload File" %}</button>
|
||||||
</form>
|
</form>
|
||||||
{% endblock form_buttons_bottom %}
|
{% endblock form_buttons_bottom %}
|
||||||
|
</div>
|
||||||
{% endblock details %}
|
{% endblock page_info %}
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock page_content %}
|
|
||||||
|
|
||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
|
enableSidebar('bom-upload');
|
||||||
|
|
||||||
{% endblock js_ready %}
|
{% endblock js_ready %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user