From 6a420fd95c22d8de2d11e0d89d77defd4093b844 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Sep 2021 00:17:12 +0200 Subject: [PATCH 1/2] replace bold tags --- InvenTree/build/templates/build/auto_allocate.html | 2 +- InvenTree/build/templates/build/complete.html | 2 +- InvenTree/build/templates/build/detail.html | 2 +- InvenTree/common/templates/common/edit_setting.html | 2 +- .../order/templates/order/order_wizard/match_fields.html | 2 +- InvenTree/order/templates/order/receive_parts.html | 2 +- InvenTree/order/templates/order/sales_order_ship.html | 2 +- InvenTree/order/templates/order/so_allocation_delete.html | 4 ++-- InvenTree/part/templates/part/bom.html | 2 +- InvenTree/part/templates/part/bom_duplicate.html | 2 +- .../part/templates/part/bom_upload/match_fields.html | 2 +- InvenTree/part/templates/part/bom_upload/upload_file.html | 4 ++-- InvenTree/part/templates/part/create_part.html | 2 +- .../templates/part/import_wizard/ajax_match_fields.html | 2 +- .../part/templates/part/import_wizard/match_fields.html | 2 +- InvenTree/part/templates/part/partial_delete.html | 2 +- InvenTree/part/templates/part/prices.html | 8 ++++---- InvenTree/part/templates/part/variant_part.html | 2 +- InvenTree/stock/templates/stock/item_base.html | 2 +- InvenTree/stock/templates/stock/item_delete.html | 2 +- InvenTree/stock/templates/stock/loc_link.html | 2 +- InvenTree/stock/templates/stock/location_delete.html | 4 ++-- InvenTree/stock/templates/stock/stockitem_convert.html | 4 ++-- InvenTree/templates/InvenTree/index.html | 2 +- InvenTree/templates/InvenTree/search.html | 2 +- InvenTree/templates/InvenTree/settings/navbar.html | 4 ++-- InvenTree/templates/InvenTree/settings/setting.html | 6 +++--- InvenTree/templates/navbar.html | 2 +- InvenTree/templates/registration/login.html | 2 +- InvenTree/templates/stats.html | 6 +++--- 30 files changed, 42 insertions(+), 42 deletions(-) diff --git a/InvenTree/build/templates/build/auto_allocate.html b/InvenTree/build/templates/build/auto_allocate.html index 48d1837ae0..49178ff556 100644 --- a/InvenTree/build/templates/build/auto_allocate.html +++ b/InvenTree/build/templates/build/auto_allocate.html @@ -6,7 +6,7 @@ {{ block.super }}
- {% trans "Automatically Allocate Stock" %}
+ {% trans "Automatically Allocate Stock" %}
{% trans "The following stock items will be allocated to the specified build output" %}
{% if allocations %} diff --git a/InvenTree/build/templates/build/complete.html b/InvenTree/build/templates/build/complete.html index 527c0598d4..eeedc027dd 100644 --- a/InvenTree/build/templates/build/complete.html +++ b/InvenTree/build/templates/build/complete.html @@ -9,7 +9,7 @@ {% else %}
- {% trans "Build Order is incomplete" %}
+ {% trans "Build Order is incomplete" %}
{% else %}
- {% trans "Create a new build output" %}
+ {% trans "Create a new build output" %}
{% trans "No incomplete build outputs remain." %}
{% trans "Create a new build output using the button above" %}
diff --git a/InvenTree/common/templates/common/edit_setting.html b/InvenTree/common/templates/common/edit_setting.html index c74ed7d591..2ebebf75af 100644 --- a/InvenTree/common/templates/common/edit_setting.html +++ b/InvenTree/common/templates/common/edit_setting.html @@ -6,7 +6,7 @@ {{ block.super }} {% endblock %} \ No newline at end of file diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index c50a9490f0..e4ca64b32e 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -78,7 +78,7 @@ {% if company.currency %} {{ company.currency }} {% else %} - {% trans "Uses default currency" %} + {% trans "Uses default currency" %} {% endif %} diff --git a/InvenTree/company/templates/company/manufacturer_part.html b/InvenTree/company/templates/company/manufacturer_part.html index cc2dd68840..13e81aaa90 100644 --- a/InvenTree/company/templates/company/manufacturer_part.html +++ b/InvenTree/company/templates/company/manufacturer_part.html @@ -225,7 +225,7 @@ $("#multi-parameter-delete").click(function() { diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index 41332eeec5..6bad2bbbdf 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -18,7 +18,7 @@
{% if part.is_template %}
- {% blocktrans with full_name=part.full_name%}Showing stock for all variants of {{full_name}}{% endblocktrans %} + {% blocktrans with full_name=part.full_name%}Showing stock for all variants of {{full_name}}{% endblocktrans %}
{% endif %} {% include "stock_table.html" %} diff --git a/InvenTree/part/templates/part/part_pricing.html b/InvenTree/part/templates/part/part_pricing.html index b24a89f5c9..9ec80882af 100644 --- a/InvenTree/part/templates/part/part_pricing.html +++ b/InvenTree/part/templates/part/part_pricing.html @@ -37,7 +37,7 @@ {% else %} - {% trans 'No supplier pricing available' %} + {% trans 'No supplier pricing available' %} {% endif %} @@ -78,14 +78,14 @@ {% if part.has_complete_bom_pricing == False %} - {% trans 'Note: BOM pricing is incomplete for this part' %} + {% trans 'Note: BOM pricing is incomplete for this part' %} {% endif %} {% else %} - {% trans 'No BOM pricing available' %} + {% trans 'No BOM pricing available' %} {% endif %} diff --git a/InvenTree/part/templates/part/prices.html b/InvenTree/part/templates/part/prices.html index c4c6b863f4..69412ab2bb 100644 --- a/InvenTree/part/templates/part/prices.html +++ b/InvenTree/part/templates/part/prices.html @@ -37,7 +37,7 @@ {% else %} - {% trans 'No supplier pricing available' %} + {% trans 'No supplier pricing available' %} {% endif %} @@ -83,14 +83,14 @@ {% if part.has_complete_bom_pricing == False %} - {% trans 'Note: BOM pricing is incomplete for this part' %} + {% trans 'Note: BOM pricing is incomplete for this part' %} {% endif %} {% else %} - {% trans 'No BOM pricing available' %} + {% trans 'No BOM pricing available' %} {% endif %} @@ -179,7 +179,7 @@

{% trans 'Stock Pricing' %} - +

{% if price_history|length > 0 %}
diff --git a/InvenTree/part/templates/part/variant_part.html b/InvenTree/part/templates/part/variant_part.html index f3739b2c9c..8a6064711f 100644 --- a/InvenTree/part/templates/part/variant_part.html +++ b/InvenTree/part/templates/part/variant_part.html @@ -7,7 +7,7 @@
{% trans "Create new part variant" %}
- {% blocktrans with full_name=part.full_name %}Create a new variant of template '{{full_name}}'.{% endblocktrans %} + {% blocktrans with full_name=part.full_name %}Create a new variant of template '{{full_name}}'.{% endblocktrans %}
{% endblock %} \ No newline at end of file diff --git a/InvenTree/report/templates/report/inventree_build_order_base.html b/InvenTree/report/templates/report/inventree_build_order_base.html index 2d2d2766bb..20e6a6ffd0 100644 --- a/InvenTree/report/templates/report/inventree_build_order_base.html +++ b/InvenTree/report/templates/report/inventree_build_order_base.html @@ -128,7 +128,7 @@ content: "v{{report_revision}} - {{ date.isoformat }}"; {% if build.target_date %} {{ build.target_date }} {% else %} - Not specified + Not specified {% endif %} @@ -138,7 +138,7 @@ content: "v{{report_revision}} - {{ date.isoformat }}"; {% if build.sales_order %} {% internal_link build.sales_order.get_absolute_url build.sales_order %} {% else %} - Not specified + Not specified {% endif %} diff --git a/InvenTree/report/templates/report/inventree_test_report_base.html b/InvenTree/report/templates/report/inventree_test_report_base.html index d6d9c5644f..d702973c30 100644 --- a/InvenTree/report/templates/report/inventree_test_report_base.html +++ b/InvenTree/report/templates/report/inventree_test_report_base.html @@ -68,8 +68,8 @@ content: "{% trans 'Stock Item Test Report' %}"; {{ part.full_name }}

{{ part.description }}

-

{{ stock_item.location }}

-

Stock Item ID: {{ stock_item.pk }}

+

{{ stock_item.location }}

+

Stock Item ID: {{ stock_item.pk }}

diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index a420da87f5..759732fe6e 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -300,7 +300,7 @@ {% if item.location %} {{ item.location.name }} {% else %} - {% trans "No location set" %} + {% trans "No location set" %} {% endif %} {% endif %} @@ -367,7 +367,7 @@ {% if item.supplier_part.manufacturer_part.manufacturer %} {{ item.supplier_part.manufacturer_part.manufacturer.name }} {% else %} - {% trans "No manufacturer set" %} + {% trans "No manufacturer set" %} {% endif %} @@ -414,7 +414,7 @@ {% if item.stocktake_date %} {{ item.stocktake_date }} {{ item.stocktake_user }} {% else %} - {% trans "No stocktake performed" %} + {% trans "No stocktake performed" %} {% endif %} diff --git a/InvenTree/stock/templates/stock/location_delete.html b/InvenTree/stock/templates/stock/location_delete.html index 738131ec92..22b4168173 100644 --- a/InvenTree/stock/templates/stock/location_delete.html +++ b/InvenTree/stock/templates/stock/location_delete.html @@ -20,7 +20,7 @@ the top level 'Stock' location.
    {% for loc in location.children.all %} -
  • {{ loc.name }} - {{ loc.description}}
  • +
  • {{ loc.name }} - {{ loc.description}}
  • {% endfor %}
{% endif %} @@ -36,7 +36,7 @@ If this location is deleted, these items will be moved to the top level 'Stock'
    {% for item in location.stock_items.all %} -
  • {{ item.part.full_name }} - {{ item.part.description }}{% decimal item.quantity %}
  • +
  • {{ item.part.full_name }} - {{ item.part.description }}{% decimal item.quantity %}
  • {% endfor %}
{% endif %} diff --git a/InvenTree/stock/templates/stock/stock_adjust.html b/InvenTree/stock/templates/stock/stock_adjust.html index 5ee02c7ca3..60a9ec2658 100644 --- a/InvenTree/stock/templates/stock/stock_adjust.html +++ b/InvenTree/stock/templates/stock/stock_adjust.html @@ -24,7 +24,7 @@ {% for item in stock_items %} {% include "hover_image.html" with image=item.part.image hover=True %} - {{ item.part.full_name }} {{ item.part.description }} + {{ item.part.full_name }} {{ item.part.description }} {{ item.location.pathstring }} {% decimal item.quantity %} diff --git a/InvenTree/stock/templates/stock/stockitem_convert.html b/InvenTree/stock/templates/stock/stockitem_convert.html index c75b278f74..d4e3487567 100644 --- a/InvenTree/stock/templates/stock/stockitem_convert.html +++ b/InvenTree/stock/templates/stock/stockitem_convert.html @@ -5,7 +5,7 @@
{% trans "Convert Stock Item" %}
- {% blocktrans with part=item.part %}This stock item is current an instance of {{part}}{% endblocktrans %}
+ {% blocktrans with part=item.part %}This stock item is current an instance of {{part}}{% endblocktrans %}
{% trans "It can be converted to one of the part variants listed below." %}
diff --git a/InvenTree/templates/InvenTree/search.html b/InvenTree/templates/InvenTree/search.html index e027df7a7b..af0711bc35 100644 --- a/InvenTree/templates/InvenTree/search.html +++ b/InvenTree/templates/InvenTree/search.html @@ -21,7 +21,7 @@ {% if query %} {% else %}
-

{% trans "Enter a search query" %}

+

{% trans "Enter a search query" %}

{% endif %} @@ -268,7 +268,7 @@ var text = "{% trans "Shipped to customer" %}"; return renderLink(text, `/company/${row.customer}/assigned-stock/`); } else { - return '{% trans "No stock location set" %}'; + return '{% trans "No stock location set" %}'; } } } diff --git a/InvenTree/templates/InvenTree/settings/currencies.html b/InvenTree/templates/InvenTree/settings/currencies.html index 85274e91aa..08434cc704 100644 --- a/InvenTree/templates/InvenTree/settings/currencies.html +++ b/InvenTree/templates/InvenTree/settings/currencies.html @@ -40,7 +40,7 @@ {% if rates_updated %} {{ rates_updated }} {% else %} - {% trans "Never" %} + {% trans "Never" %} {% endif %}
diff --git a/InvenTree/templates/InvenTree/settings/setting.html b/InvenTree/templates/InvenTree/settings/setting.html index 89c9989c42..de3439a647 100644 --- a/InvenTree/templates/InvenTree/settings/setting.html +++ b/InvenTree/templates/InvenTree/settings/setting.html @@ -26,7 +26,7 @@ {% if setting.value %} {{ setting.value }} {% else %} - {% trans "No value set" %} + {% trans "No value set" %} {% endif %} diff --git a/InvenTree/templates/about.html b/InvenTree/templates/about.html index 358d468ca8..5b589bf47c 100644 --- a/InvenTree/templates/about.html +++ b/InvenTree/templates/about.html @@ -87,7 +87,7 @@ - + diff --git a/InvenTree/templates/clip.html b/InvenTree/templates/clip.html index a56ece838c..d4232b02b4 100644 --- a/InvenTree/templates/clip.html +++ b/InvenTree/templates/clip.html @@ -1,5 +1,5 @@ {% load i18n %} - + \ No newline at end of file diff --git a/InvenTree/templates/modals.html b/InvenTree/templates/modals.html index 11ddc40938..ac26a5fa9a 100644 --- a/InvenTree/templates/modals.html +++ b/InvenTree/templates/modals.html @@ -14,7 +14,7 @@ - +