diff --git a/.github/workflows/docker_publish.yaml b/.github/workflows/docker_publish.yaml index 75f2d67d20..667b860b13 100644 --- a/.github/workflows/docker_publish.yaml +++ b/.github/workflows/docker_publish.yaml @@ -13,6 +13,9 @@ jobs: steps: - name: Check out repo uses: actions/checkout@v2 + - name: cd + run: | + cd docker - name: Push to Docker Hub uses: docker/build-push-action@v1 with: @@ -20,4 +23,4 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} repository: inventree/inventree tag_with_ref: true - dockerfile: docker/Dockerfile \ No newline at end of file + dockerfile: ./Dockerfile \ No newline at end of file diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index a8e5e53377..b6c464ba1b 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -3,6 +3,7 @@ {% load static %} {% load i18n %} {% load status_codes %} +{% load inventree_extras %} {% block page_title %} InvenTree | {% trans "Build Order" %} - {{ build }} @@ -11,12 +12,14 @@ InvenTree | {% trans "Build Order" %} - {{ build }} {% block pre_content %} {% if build.sales_order %}
- {% trans "This Build Order is allocated to Sales Order" %} {{ build.sales_order }} + {% object_link 'so-detail' build.sales_order.id build.sales_order as link %} + {% blocktrans %}This Build Order is allocated to Sales Order {{link}}{% endblocktrans %}
{% endif %} {% if build.parent %}
- {% trans "This Build Order is a child of Build Order" %} {{ build.parent }} + {% object_link 'build-detail' build.parent.id build.parent as link %} + {% blocktrans %}This Build Order is a child of Build Order {{link}}{% endblocktrans %}
{% endif %} {% endblock %} @@ -105,7 +108,7 @@ src="{% static 'img/blank_image.png' %}" {{ build.target_date }} {% if build.is_overdue %} - {% trans "Overdue" %} + {% trans "Overdue" %} {% endif %} diff --git a/InvenTree/build/templates/build/create_build_item.html b/InvenTree/build/templates/build/create_build_item.html index 8f58e884d6..9ebf5bb389 100644 --- a/InvenTree/build/templates/build/create_build_item.html +++ b/InvenTree/build/templates/build/create_build_item.html @@ -8,15 +8,13 @@

{% if output %}

- {% trans "The allocated stock will be installed into the following build output:" %} -
- {{ output }} + {% blocktrans %}The allocated stock will be installed into the following build output:
{{output}}{% endblocktrans %}

{% endif %} {% if no_stock %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/InvenTree/company/templates/company/manufacturer_part_delete.html b/InvenTree/company/templates/company/manufacturer_part_delete.html index 4d5c2f6c86..58ecdbf23b 100644 --- a/InvenTree/company/templates/company/manufacturer_part_delete.html +++ b/InvenTree/company/templates/company/manufacturer_part_delete.html @@ -33,8 +33,7 @@ {% if part.supplier_parts.all|length > 0 %}
-

There are {{ part.supplier_parts.all|length }} suppliers defined for this manufacturer part. If you delete it, the following supplier parts will also be deleted: -

+

{% blocktrans with count=part.supplier_parts.all|length %}There are {{count}} suppliers defined for this manufacturer part. If you delete it, the following supplier parts will also be deleted:{% endblocktrans %}

{% if not part.order_supplier %} - {% trans "Select a supplier for" %} {{ part.name }} + {% blocktrans with name=part.name %}Select a supplier for {{name}}{% endblocktrans %} {% endif %} diff --git a/InvenTree/order/templates/order/order_wizard/select_pos.html b/InvenTree/order/templates/order/order_wizard/select_pos.html index 616e618deb..27f60212c1 100644 --- a/InvenTree/order/templates/order/order_wizard/select_pos.html +++ b/InvenTree/order/templates/order/order_wizard/select_pos.html @@ -42,7 +42,7 @@