From 508a3fc35c057ac822722cfbabda51e37b301329 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 19 Sep 2019 23:59:01 +1000 Subject: [PATCH] Improve display of part category page --- InvenTree/part/templates/part/category.html | 28 ++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index f48e06e6d7..c3477f47c2 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -8,9 +8,6 @@ {% if category %}

{{ category.name }}

{{ category.description }}

- {% if category.default_location %} -

Default Location: {{ category.default_location }}

- {% endif %} {% else %}

Part Categories

All parts

@@ -32,6 +29,31 @@

+ {% if category %} +

Category Details

+ + + + + + + + + + {% if category.default_location %} + + + + + {% endif %} + {% if category.default_keywords %} + + + + + {% endif %} +
Category Path{{ category.pathstring }}
Category Description{{ category.description }}
Default Location{{ category.default_location.pathstring }}
Keywords{{ category.default_keywords }}
+ {% endif %}