From a067d9f4cde0ad185d4b9d40ec8f1fe427412b85 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 18:13:54 +1000 Subject: [PATCH] Add page title for Part app --- InvenTree/part/templates/part/part_app_base.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/InvenTree/part/templates/part/part_app_base.html b/InvenTree/part/templates/part/part_app_base.html index 8c034dfa6e..7fed480d59 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 %}