diff --git a/InvenTree/part/templates/part/part_app_base.html b/InvenTree/part/templates/part/part_app_base.html new file mode 100644 index 0000000000..00f42b84a6 --- /dev/null +++ b/InvenTree/part/templates/part/part_app_base.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} + +{% block sidenav %} +

Parts

+
+{% endblock %} \ No newline at end of file diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index 4b3f9ae6f4..b6736ed45b 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "part/part_app_base.html" %} {% load static %} diff --git a/InvenTree/templates/base.html b/InvenTree/templates/base.html index 0aa57dd85d..b06b0ad37d 100644 --- a/InvenTree/templates/base.html +++ b/InvenTree/templates/base.html @@ -32,7 +32,10 @@ InvenTree
-{% include "sidebar.html" %} +
+{% block sidenav %} +{% endblock %} +
{% block content %} diff --git a/InvenTree/templates/sidebar.html b/InvenTree/templates/sidebar.html deleted file mode 100644 index 6428e3d238..0000000000 --- a/InvenTree/templates/sidebar.html +++ /dev/null @@ -1,9 +0,0 @@ -
- -
- -
- -
- -
\ No newline at end of file