diff --git a/InvenTree/build/templates/build/allocate.html b/InvenTree/build/templates/build/allocate.html index d6657ea196..1aa5338551 100644 --- a/InvenTree/build/templates/build/allocate.html +++ b/InvenTree/build/templates/build/allocate.html @@ -2,6 +2,10 @@ {% load static %} {% load inventree_extras %} +{% block page_title %} +InvenTree | Allocate Parts +{% endblock %} + {% block content %}

Allocate Parts for Build

diff --git a/InvenTree/build/templates/build/detail.html b/InvenTree/build/templates/build/detail.html index 9ca444f516..8beeb6ac08 100644 --- a/InvenTree/build/templates/build/detail.html +++ b/InvenTree/build/templates/build/detail.html @@ -1,6 +1,10 @@ {% extends "base.html" %} {% load static %} +{% block page_title %} +InvenTree | Build - {{ build }} +{% endblock %} + {% block content %}
diff --git a/InvenTree/build/templates/build/index.html b/InvenTree/build/templates/build/index.html index af24a6ca53..d52bcb4c4a 100644 --- a/InvenTree/build/templates/build/index.html +++ b/InvenTree/build/templates/build/index.html @@ -1,5 +1,10 @@ {% extends "base.html" %} {% load static %} + +{% block page_title %} +InvenTree | Build List +{% endblock %} + {% block content %} diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index 9944185e9e..56983784ee 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -2,6 +2,10 @@ {% load static %} +{% block page_title %} +InvenTree | Company - {{ company.name }} +{% endblock %} + {% block content %}
diff --git a/InvenTree/company/templates/company/index.html b/InvenTree/company/templates/company/index.html index 6b2dad3c81..3f0dc7c489 100644 --- a/InvenTree/company/templates/company/index.html +++ b/InvenTree/company/templates/company/index.html @@ -2,6 +2,10 @@ {% load static %} +{% block page_title %} +InvenTree | Company List +{% endblock %} + {% block content %}
diff --git a/InvenTree/company/templates/company/partdetail.html b/InvenTree/company/templates/company/partdetail.html index a67e0fbf2d..736b73256d 100644 --- a/InvenTree/company/templates/company/partdetail.html +++ b/InvenTree/company/templates/company/partdetail.html @@ -1,5 +1,10 @@ {% extends "base.html" %} {% load static %} + +{% block page_title %} +InvenTree | {{ company.name }} - Parts +{% endblock %} + {% block content %}
diff --git a/InvenTree/part/templates/part/part_app_base.html b/InvenTree/part/templates/part/part_app_base.html index 8c034dfa6e..43b12377f6 100644 --- a/InvenTree/part/templates/part/part_app_base.html +++ b/InvenTree/part/templates/part/part_app_base.html @@ -2,6 +2,16 @@ {% load static %} +{% block page_title %} +{% if part %} +InvenTree | Part - {{ part.name }} +{% elif category %} +InvenTree | Part Category - {{ category }} +{% else %} +InvenTree | Part List +{% endif %} +{% endblock %} + {% block sidenav %}
{% endblock %} diff --git a/InvenTree/stock/templates/stock/stock_app_base.html b/InvenTree/stock/templates/stock/stock_app_base.html index 6071499863..26393626bb 100644 --- a/InvenTree/stock/templates/stock/stock_app_base.html +++ b/InvenTree/stock/templates/stock/stock_app_base.html @@ -1,6 +1,16 @@ {% extends "base.html" %} {% load static %} +{% block page_title %} +{% if item %} +InvenTree | Stock Item - {{ item }} +{% elif location %} +InvenTree | Stock Location - {{ location }} +{% else %} +InvenTree | Stock +{% endif %} +{% endblock %} + {% block sidenav %}
{% endblock %} diff --git a/InvenTree/templates/InvenTree/index.html b/InvenTree/templates/InvenTree/index.html index 89b412bdcc..a4c6b68ef4 100644 --- a/InvenTree/templates/InvenTree/index.html +++ b/InvenTree/templates/InvenTree/index.html @@ -1,5 +1,9 @@ {% extends "base.html" %} +{% block page_title %} +InvenTree | Index +{% endblock %} + {% block content %}

InvenTree


diff --git a/InvenTree/templates/InvenTree/search.html b/InvenTree/templates/InvenTree/search.html index cd700facc8..187cc1addb 100644 --- a/InvenTree/templates/InvenTree/search.html +++ b/InvenTree/templates/InvenTree/search.html @@ -1,5 +1,9 @@ {% extends "base.html" %} +{% block page_title %} +InvenTree | Search Results +{% endblock %} + {% block content %}

Search Results

diff --git a/InvenTree/templates/base.html b/InvenTree/templates/base.html index 90925cfe7e..953dbb1272 100644 --- a/InvenTree/templates/base.html +++ b/InvenTree/templates/base.html @@ -40,7 +40,7 @@ {% endblock %} -{% block title %} +{% block page_title %} InvenTree {% endblock %}