diff --git a/InvenTree/part/templates/part/category_parametric.html b/InvenTree/part/templates/part/category_parametric.html index 250530309e..881a292986 100644 --- a/InvenTree/part/templates/part/category_parametric.html +++ b/InvenTree/part/templates/part/category_parametric.html @@ -19,18 +19,18 @@ {% block js_ready %} {{ block.super }} - - /* Hide Button Toolbar */ - window.onload = function hideButtonToolbar() { - var toolbar = document.getElementById("button-toolbar"); - toolbar.style.display = "none"; - }; + + /* Hide Button Toolbar */ + window.onload = function hideButtonToolbar() { + var toolbar = document.getElementById("button-toolbar"); + toolbar.style.display = "none"; + }; loadParametricPartTable( "#parametric-part-table", { - headers: {{ headers|safe }}, - data: {{ parameters|safe }}, + headers: {{ headers|safe }}, + data: {{ parameters|safe }}, } ); diff --git a/InvenTree/templates/InvenTree/settings/category.html b/InvenTree/templates/InvenTree/settings/category.html index 07dd0df342..0e70d2c90e 100644 --- a/InvenTree/templates/InvenTree/settings/category.html +++ b/InvenTree/templates/InvenTree/settings/category.html @@ -44,7 +44,7 @@ }); {% if category %} - $("#param-table").inventreeTable({ + $("#param-table").inventreeTable({ url: "{% url 'api-part-category-parameters' pk=category.pk %}", queryParams: { ordering: 'name', @@ -66,7 +66,7 @@ field: 'default_value', title: '{% trans "Default Value" %}', sortable: 'true', - formatter: function(value, row, index, field) { + formatter: function(value, row, index, field) { var bEdit = ""; var bDel = ""; @@ -79,7 +79,7 @@ ] }); - $("#new-param").click(function() { + $("#new-param").click(function() { launchModalForm("{% url 'category-param-template-create' category.pk %}", { success: function() { $("#param-table").bootstrapTable('refresh'); diff --git a/InvenTree/templates/InvenTree/settings/stock.html b/InvenTree/templates/InvenTree/settings/stock.html index 7909e11a60..7cf7a94e0b 100644 --- a/InvenTree/templates/InvenTree/settings/stock.html +++ b/InvenTree/templates/InvenTree/settings/stock.html @@ -21,7 +21,7 @@ {% include "InvenTree/settings/setting.html" with key="STOCK_STALE_DAYS" icon="fa-calendar" %} {% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_SALE" icon="fa-truck" %} {% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_BUILD" icon="fa-tools" %} - {% include "InvenTree/settings/setting.html" with key="STOCK_OWNERSHIP_CONTROL" icon="fa-users" %} + {% include "InvenTree/settings/setting.html" with key="STOCK_OWNERSHIP_CONTROL" icon="fa-users" %} {% endblock %} diff --git a/InvenTree/templates/InvenTree/settings/theme.html b/InvenTree/templates/InvenTree/settings/theme.html index 413bb67dd3..d7b006d13c 100644 --- a/InvenTree/templates/InvenTree/settings/theme.html +++ b/InvenTree/templates/InvenTree/settings/theme.html @@ -25,12 +25,12 @@ {% if invalid_color_theme %} - + {% endif %} {% endblock %}