From 338e85ff526db5494f5e98b50282db654d9d0b81 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 1 Nov 2021 01:09:08 +0100 Subject: [PATCH] remove breadcrub div where no breadcrumb --- InvenTree/templates/InvenTree/index.html | 2 ++ InvenTree/templates/InvenTree/search.html | 3 +++ InvenTree/templates/page_base.html | 3 +++ 3 files changed, 8 insertions(+) diff --git a/InvenTree/templates/InvenTree/index.html b/InvenTree/templates/InvenTree/index.html index eec261e056..95b6c15bf9 100644 --- a/InvenTree/templates/InvenTree/index.html +++ b/InvenTree/templates/InvenTree/index.html @@ -7,6 +7,8 @@ {% inventree_title %} | {% trans "Index" %} {% endblock %} +{% block breadcrumb_list %} +{% endblock %} {% block sidebar %} diff --git a/InvenTree/templates/InvenTree/search.html b/InvenTree/templates/InvenTree/search.html index 34f4a541fe..191a5a5b4c 100644 --- a/InvenTree/templates/InvenTree/search.html +++ b/InvenTree/templates/InvenTree/search.html @@ -8,6 +8,9 @@ {% inventree_title %} | {% trans "Search Results" %} {% endblock %} +{% block breadcrumb_list %} +{% endblock %} + {% block content %}
diff --git a/InvenTree/templates/page_base.html b/InvenTree/templates/page_base.html index 2a9704a728..7c0c808b8a 100644 --- a/InvenTree/templates/page_base.html +++ b/InvenTree/templates/page_base.html @@ -3,6 +3,9 @@ {% load static %} {% load i18n %} +{% block breadcrumb_list %} +{% endblock %} + {% block content %}