diff --git a/InvenTree/InvenTree/static/script/inventree/bom.js b/InvenTree/InvenTree/static/script/inventree/bom.js index def3910999..55337e3fa8 100644 --- a/InvenTree/InvenTree/static/script/inventree/bom.js +++ b/InvenTree/InvenTree/static/script/inventree/bom.js @@ -237,11 +237,11 @@ function loadBomTable(table, options) { cols.push({ formatter: function(value, row, index, field) { - var bValidate = ""; - var bValid = ""; + var bValidate = ""; + var bValid = ""; - var bEdit = ""; - var bDelt = ""; + var bEdit = ""; + var bDelt = ""; var html = "
"; diff --git a/InvenTree/InvenTree/static/script/inventree/build.js b/InvenTree/InvenTree/static/script/inventree/build.js index 28767c99b4..bb2de7fb81 100644 --- a/InvenTree/InvenTree/static/script/inventree/build.js +++ b/InvenTree/InvenTree/static/script/inventree/build.js @@ -119,8 +119,8 @@ function loadAllocationTable(table, part_id, part, url, required, button) { formatter: function(value, row, index, field) { var html = parseFloat(value); - var bEdit = ""; - var bDel = ""; + var bEdit = ""; + var bDel = ""; html += "
" + bEdit + bDel + "
"; diff --git a/InvenTree/InvenTree/static/script/inventree/stock.js b/InvenTree/InvenTree/static/script/inventree/stock.js index e21971bb0f..4e4b61aa93 100644 --- a/InvenTree/InvenTree/static/script/inventree/stock.js +++ b/InvenTree/InvenTree/static/script/inventree/stock.js @@ -475,8 +475,8 @@ function loadStockTrackingTable(table, options) { formatter: function(value, row, index, field) { // Manually created entries can be edited or deleted if (!row.system) { - var bEdit = ""; - var bDel = ""; + var bEdit = ""; + var bDel = ""; return "
" + bEdit + bDel + "
"; } else { diff --git a/InvenTree/build/templates/build/notes.html b/InvenTree/build/templates/build/notes.html index 6e05a40c95..f54172ac21 100644 --- a/InvenTree/build/templates/build/notes.html +++ b/InvenTree/build/templates/build/notes.html @@ -30,7 +30,7 @@

{% trans "Build Notes" %}

- +

diff --git a/InvenTree/build/templates/build/tabs.html b/InvenTree/build/templates/build/tabs.html index 24b1e53a15..ca2e92f290 100644 --- a/InvenTree/build/templates/build/tabs.html +++ b/InvenTree/build/templates/build/tabs.html @@ -11,6 +11,6 @@ {% trans "Build Outputs" %}{% if build.output_count > 0%}{{ build.output_count }}{% endif %} - {% trans "Notes" %}{% if build.notes %} {% endif %} + {% trans "Notes" %}{% if build.notes %} {% endif %} \ No newline at end of file diff --git a/InvenTree/company/templates/company/notes.html b/InvenTree/company/templates/company/notes.html index 467bf49d2d..5ee1706acd 100644 --- a/InvenTree/company/templates/company/notes.html +++ b/InvenTree/company/templates/company/notes.html @@ -27,7 +27,7 @@

{% trans "Company Notes" %}

- +

diff --git a/InvenTree/company/templates/company/supplier_part_base.html b/InvenTree/company/templates/company/supplier_part_base.html index 5083af4f3a..5a3d49a10e 100644 --- a/InvenTree/company/templates/company/supplier_part_base.html +++ b/InvenTree/company/templates/company/supplier_part_base.html @@ -19,12 +19,12 @@ src="{% static 'img/blank_image.png' %}"

{% trans "Supplier Part" %}

{{ part.supplier.name }} - {{ part.SKU }}

-
- -
diff --git a/InvenTree/company/templates/company/supplier_part_pricing.html b/InvenTree/company/templates/company/supplier_part_pricing.html index bed8d9ed35..080871ace7 100644 --- a/InvenTree/company/templates/company/supplier_part_pricing.html +++ b/InvenTree/company/templates/company/supplier_part_pricing.html @@ -36,8 +36,8 @@ {% decimal pb.cost %} {% if pb.currency %}{{ pb.currency.suffix }}{% endif %}
- - + +
diff --git a/InvenTree/company/templates/company/tabs.html b/InvenTree/company/templates/company/tabs.html index 8e01bf30c0..9fd00ceb11 100644 --- a/InvenTree/company/templates/company/tabs.html +++ b/InvenTree/company/templates/company/tabs.html @@ -23,6 +23,6 @@ {% endif %} - {% trans "Notes" %}{% if company.notes %} {% endif %} + {% trans "Notes" %}{% if company.notes %} {% endif %} diff --git a/InvenTree/order/templates/order/order_notes.html b/InvenTree/order/templates/order/order_notes.html index 1d2c19c6cb..237098e10d 100644 --- a/InvenTree/order/templates/order/order_notes.html +++ b/InvenTree/order/templates/order/order_notes.html @@ -29,7 +29,7 @@

{% trans "Order Notes" %}

- +

diff --git a/InvenTree/order/templates/order/order_wizard/select_parts.html b/InvenTree/order/templates/order/order_wizard/select_parts.html index d0e65e8f22..9c7c90ac26 100644 --- a/InvenTree/order/templates/order/order_wizard/select_parts.html +++ b/InvenTree/order/templates/order/order_wizard/select_parts.html @@ -40,7 +40,7 @@ @@ -67,7 +67,7 @@ diff --git a/InvenTree/order/templates/order/order_wizard/select_pos.html b/InvenTree/order/templates/order/order_wizard/select_pos.html index bd6c30f71b..a24c342e0f 100644 --- a/InvenTree/order/templates/order/order_wizard/select_pos.html +++ b/InvenTree/order/templates/order/order_wizard/select_pos.html @@ -45,7 +45,7 @@ title='Create new purchase order for {{ supplier.name }}' type='button' onclick='newPurchaseOrderFromOrderWizard()'> - + diff --git a/InvenTree/order/templates/order/po_attachments.html b/InvenTree/order/templates/order/po_attachments.html index e8e2b4bbff..388b7197b6 100644 --- a/InvenTree/order/templates/order/po_attachments.html +++ b/InvenTree/order/templates/order/po_attachments.html @@ -8,7 +8,7 @@ {% include 'order/po_tabs.html' with tab='attachments' %} -

{% trans "Purchase Order Attachments" %} +

{% trans "Purchase Order Attachments" %}


@@ -34,10 +34,10 @@
diff --git a/InvenTree/order/templates/order/po_tabs.html b/InvenTree/order/templates/order/po_tabs.html index a04c97eba5..d5c7286c3f 100644 --- a/InvenTree/order/templates/order/po_tabs.html +++ b/InvenTree/order/templates/order/po_tabs.html @@ -12,6 +12,6 @@ - {% trans "Notes" %}{% if order.notes %} {% endif %} + {% trans "Notes" %}{% if order.notes %} {% endif %} diff --git a/InvenTree/order/templates/order/receive_parts.html b/InvenTree/order/templates/order/receive_parts.html index 3ebaa66889..f71959cdc0 100644 --- a/InvenTree/order/templates/order/receive_parts.html +++ b/InvenTree/order/templates/order/receive_parts.html @@ -41,7 +41,7 @@ Receive outstanding parts for {{ order }} - {{ order.description }} diff --git a/InvenTree/order/templates/order/sales_order_notes.html b/InvenTree/order/templates/order/sales_order_notes.html index 671b592569..959746667b 100644 --- a/InvenTree/order/templates/order/sales_order_notes.html +++ b/InvenTree/order/templates/order/sales_order_notes.html @@ -34,7 +34,7 @@ InvenTree | {% trans "Sales Order" %}

{% trans "Order Notes" %}

- +

diff --git a/InvenTree/order/templates/order/so_attachments.html b/InvenTree/order/templates/order/so_attachments.html index 82248fd5eb..ca4170beff 100644 --- a/InvenTree/order/templates/order/so_attachments.html +++ b/InvenTree/order/templates/order/so_attachments.html @@ -34,10 +34,10 @@
diff --git a/InvenTree/order/templates/order/so_tabs.html b/InvenTree/order/templates/order/so_tabs.html index cb3740a073..95ccac7933 100644 --- a/InvenTree/order/templates/order/so_tabs.html +++ b/InvenTree/order/templates/order/so_tabs.html @@ -20,6 +20,6 @@ - {% trans "Notes" %}{% if order.notes %} {% endif %} + {% trans "Notes" %}{% if order.notes %} {% endif %} \ No newline at end of file diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index 88cb965eeb..b89a40e654 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -32,10 +32,10 @@
diff --git a/InvenTree/part/templates/part/bom_upload/select_fields.html b/InvenTree/part/templates/part/bom_upload/select_fields.html index 21849f31f8..d49b1c12ce 100644 --- a/InvenTree/part/templates/part/bom_upload/select_fields.html +++ b/InvenTree/part/templates/part/bom_upload/select_fields.html @@ -38,7 +38,7 @@ {{ col.name }} @@ -67,7 +67,7 @@ {{ forloop.counter }} diff --git a/InvenTree/part/templates/part/bom_upload/select_parts.html b/InvenTree/part/templates/part/bom_upload/select_parts.html index 9faeacc3ea..f5851e5d43 100644 --- a/InvenTree/part/templates/part/bom_upload/select_parts.html +++ b/InvenTree/part/templates/part/bom_upload/select_parts.html @@ -48,7 +48,7 @@ @@ -58,7 +58,7 @@ {% if item.column.guess == 'Part' %} {% endif %} - + {% endfor %} diff --git a/InvenTree/stock/templates/stock/tabs.html b/InvenTree/stock/templates/stock/tabs.html index 378f74e28e..62ee68bc4b 100644 --- a/InvenTree/stock/templates/stock/tabs.html +++ b/InvenTree/stock/templates/stock/tabs.html @@ -14,6 +14,6 @@ {% endif %} - {% trans "Notes" %}{% if item.notes %} {% endif %} + {% trans "Notes" %}{% if item.notes %} {% endif %} \ No newline at end of file diff --git a/InvenTree/templates/InvenTree/settings/currency.html b/InvenTree/templates/InvenTree/settings/currency.html index 4eb9420f05..9c602a67fc 100644 --- a/InvenTree/templates/InvenTree/settings/currency.html +++ b/InvenTree/templates/InvenTree/settings/currency.html @@ -67,8 +67,8 @@ { formatter: function(value, row, index, field) { - var bEdit = ""; - var bDel = ""; + var bEdit = ""; + var bDel = ""; var html = "
" + bEdit + bDel + "
"; diff --git a/InvenTree/templates/InvenTree/settings/part.html b/InvenTree/templates/InvenTree/settings/part.html index 2bbfaf2b03..96507c7ec6 100644 --- a/InvenTree/templates/InvenTree/settings/part.html +++ b/InvenTree/templates/InvenTree/settings/part.html @@ -1,14 +1,15 @@ {% extends "InvenTree/settings/settings.html" %} +{% load i18n %} {% block tabs %} {% include "InvenTree/settings/tabs.html" with tab='part' %} {% endblock %} {% block settings %} -

Part Parameter Templates

+

{% transa "Part Parameter Templates" %}

- +
@@ -24,7 +25,7 @@ queryParams: { ordering: 'name', }, - formatNoMatches: function() { return "No part parameter templates found"; }, + formatNoMatches: function() { return '{% trans "No part parameter templates found" %}'; }, columns: [ { field: 'pk', @@ -43,8 +44,8 @@ }, { formatter: function(value, row, index, field) { - var bEdit = ""; - var bDel = ""; + var bEdit = ""; + var bDel = ""; var html = "
" + bEdit + bDel + "
"; diff --git a/InvenTree/templates/InvenTree/settings/tabs.html b/InvenTree/templates/InvenTree/settings/tabs.html index c33f823be2..7b049e4fc6 100644 --- a/InvenTree/templates/InvenTree/settings/tabs.html +++ b/InvenTree/templates/InvenTree/settings/tabs.html @@ -1,16 +1,16 @@ \ No newline at end of file