From a0eec930bb266c804da207476ae0ebd146d5b5d7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 24 Feb 2021 21:30:55 +1100 Subject: [PATCH] Cleanup --- .../templates/part/bom_upload/select_fields.html | 10 ++++++++-- .../templates/part/bom_upload/select_parts.html | 10 ++++++++-- .../templates/part/bom_upload/upload_file.html | 13 ++++++++----- InvenTree/part/templates/part/track.html | 16 +++++++++------- 4 files changed, 33 insertions(+), 16 deletions(-) diff --git a/InvenTree/part/templates/part/bom_upload/select_fields.html b/InvenTree/part/templates/part/bom_upload/select_fields.html index 60f0efcfad..5e44cee2b9 100644 --- a/InvenTree/part/templates/part/bom_upload/select_fields.html +++ b/InvenTree/part/templates/part/bom_upload/select_fields.html @@ -3,9 +3,15 @@ {% load i18n %} {% load inventree_extras %} +{% block menubar %} +{% include "part/navbar.html" with tab='bom' %} +{% endblock %} + +{% block heading %} +{% trans "Upload Bill of Materials" %} +{% endblock %} + {% block details %} -{% include "part/tabs.html" with tab='bom' %} -

{% trans "Upload Bill of Materials" %}

{% trans "Step 2 - Select Fields" %}


diff --git a/InvenTree/part/templates/part/bom_upload/select_parts.html b/InvenTree/part/templates/part/bom_upload/select_parts.html index c36f828271..41530e3c55 100644 --- a/InvenTree/part/templates/part/bom_upload/select_parts.html +++ b/InvenTree/part/templates/part/bom_upload/select_parts.html @@ -3,9 +3,15 @@ {% load i18n %} {% load inventree_extras %} +{% block menubar %} +{% include "part/navbar.html" with tab="bom" %} +{% endblock %} + +{% block heading %} +{% trans "Upload Bill of Materials" %} +{% endblock %} + {% block details %} -{% include "part/tabs.html" with tab="bom" %} -

{% trans "Upload Bill of Materials" %}

{% trans "Step 3 - Select Parts" %}


diff --git a/InvenTree/part/templates/part/bom_upload/upload_file.html b/InvenTree/part/templates/part/bom_upload/upload_file.html index d503268fb7..05486ab0ac 100644 --- a/InvenTree/part/templates/part/bom_upload/upload_file.html +++ b/InvenTree/part/templates/part/bom_upload/upload_file.html @@ -3,13 +3,16 @@ {% load i18n %} {% load inventree_extras %} +{% block menubar %} +{% include "part/navbar.html" with tab='bom' %} +{% endblock %} + +{% block heading %} +{% trans "Upload Bill of Materials" %} +{% endblock %} + {% block details %} -{% include "part/tabs.html" with tab='bom' %} - -

{% trans "Upload Bill of Materials" %}

-
-

{% trans "Step 1 - Select BOM File" %}

diff --git a/InvenTree/part/templates/part/track.html b/InvenTree/part/templates/part/track.html index e3c47e4777..8e89419a11 100644 --- a/InvenTree/part/templates/part/track.html +++ b/InvenTree/part/templates/part/track.html @@ -1,12 +1,14 @@ {% extends "part/part_base.html" %} {% load static %} {% load i18n %} + +{% block menubar %} +{% include 'part/navbar.html' with tab='track' %} +{% endblock %} + +{% block heading %} +{% trans "Part Tracking" %} +{% endblock %} + {% block details %} - -{% include 'part/tabs.html' with tab='track' %} - -

{% trans "Part Tracking" %}

- -
- {% endblock %} \ No newline at end of file