diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index db96243793..1497d3dc35 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -1,17 +1,16 @@ -

Category: {{ category.name }}

- -

Path: {{ category }}

- -
-Path
- {# Construct the category path #} {% for path_item in category.path %} -{{path_item.name}}/ +{{ path_item.name }}/ {% endfor %} -
Parts:
+{{ category.name }} +{% endfor %} + +
+
+Parts: +
{% for part in category.part_set.all %} -{{part.name}}
+{{ part.name }}
{% endfor %} diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index 8793e7ce13..8055f46023 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -1 +1,4 @@ -{{part}} \ No newline at end of file +{{part}} + +
+Category: {{ part.category }} \ No newline at end of file