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

same treatment for html

This commit is contained in:
2021-05-06 14:33:03 +02:00
parent f2b0717d10
commit a77d9d9de7
51 changed files with 103 additions and 103 deletions

View File

@ -75,5 +75,5 @@
{% endblock %}
{% block js_ready %}
{{ block.super }}
{% endblock %}

View File

@ -6,7 +6,7 @@
{% trans "Are you sure you want to delete the following Manufacturer Parts?" %}
</div>
{% for part in parts %}
{% endfor %}
{% endblock %}
@ -17,7 +17,7 @@
<table class='table table-striped table-condensed'>
<tr>
<input type='hidden' name='manufacturer-part-{{ part.id}}' value='manufacturer-part-{{ part.id }}'/>
<td>
{% include "hover_image.html" with image=part.part.image %}
{{ part.part.full_name }}

View File

@ -33,6 +33,6 @@
{% block js_ready %}
{{ block.super }}
{% endblock %}

View File

@ -53,7 +53,7 @@ $('#supplier-create').click(function () {
});
$("#supplier-part-delete").click(function() {
var selections = $("#supplier-table").bootstrapTable("getSelections");
var parts = [];

View File

@ -24,7 +24,7 @@
</a>
</li>
{% endif %}
{% if company.is_supplier or company.is_manufacturer %}
<li class='list-group-item {% if tab == "supplier_parts" %}active{% endif %}' title='{% trans "Supplied Parts" %}'>
<a href='{% url "company-detail-supplier-parts" company.id %}'>

View File

@ -18,11 +18,11 @@
{% if editing %}
<form method='POST'>
{% csrf_token %}
{{ form }}
<hr>
<button type="submit" class='btn btn-default'>{% trans "Save" %}</button>
</form>
{{ form.media }}
@ -43,5 +43,5 @@ $("#edit-notes").click(function() {
location.href = "{% url 'company-notes' company.id %}?edit=1";
});
{% endif %}
{% endblock %}

View File

@ -12,7 +12,7 @@
{% for part in parts %}
<tr>
<input type='hidden' name='supplier-part-{{ part.id}}' value='supplier-part-{{ part.id }}'/>
<td>
{% include "hover_image.html" with image=part.part.image %}
{{ part.part.full_name }}

View File

@ -43,6 +43,6 @@
{% block js_ready %}
{{ block.super }}
{% endblock %}

View File

@ -19,7 +19,7 @@
</div>
</div>
{% endif %}
<table class='table table-striped table-condensed po-table' id='purchase-order-table' data-toolbar='#button-bar'>
</table>

View File

@ -90,7 +90,7 @@ $('#price-break-table').inventreeTable({
html += makeIconButton('fa-trash-alt icon-red', 'button-price-break-delete', row.pk, '{% trans "Delete price break" %}');
html += `</div>`;
return html;
}
},