From d837a1f9a238fe0b0e5f9a8695d0fff6e9010019 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 19 Jun 2019 18:54:32 +1000 Subject: [PATCH] Buttonize the part category page --- InvenTree/part/templates/part/category.html | 55 ++++++++++----------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index bbe449d217..1109b26180 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -4,36 +4,35 @@ {% block content %}
-
- {% if category %} -

{{ category.name }}

-

{{ category.description }}

- {% if category.default_location %} -

Default Location: {{ category.default_location }}

- {% endif %} - {% else %} -

Part Categories

- {% endif %} -
-
-

-
- - {% if category %} -

-
{% if category and category.children.all|length > 0 %}