From f80918554d5500fdc7b5e3b978432a585b4c0e40 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 14 Apr 2017 14:13:00 +1000 Subject: [PATCH] Removed old templates --- InvenTree/part/templates/part/category.html | 21 ------------------- .../part/templates/part/categorylist.html | 8 ------- InvenTree/part/templates/part/detail.html | 4 ---- InvenTree/stock/templates/stock/index.html | 8 ------- .../supplier/templates/supplier/detail.html | 1 - 5 files changed, 42 deletions(-) delete mode 100644 InvenTree/part/templates/part/category.html delete mode 100644 InvenTree/part/templates/part/categorylist.html delete mode 100644 InvenTree/part/templates/part/detail.html delete mode 100644 InvenTree/stock/templates/stock/index.html delete mode 100644 InvenTree/supplier/templates/supplier/detail.html diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html deleted file mode 100644 index 8e999ea96c..0000000000 --- a/InvenTree/part/templates/part/category.html +++ /dev/null @@ -1,21 +0,0 @@ -{# Construct the category path #} -Category/ -{% for path_item in category.parentpath %} -{{ path_item.name }}/ -{% endfor %} - -{{ category.name }} - -

Children:
-{% for child in children %} -{{ child.name }}
-{% endfor %} - -
-
-Parts: -
- -{% for part in category.part_set.all %} -{{ part.name }}
-{% endfor %} diff --git a/InvenTree/part/templates/part/categorylist.html b/InvenTree/part/templates/part/categorylist.html deleted file mode 100644 index c4c62ba58b..0000000000 --- a/InvenTree/part/templates/part/categorylist.html +++ /dev/null @@ -1,8 +0,0 @@ -Top Level Part Categories: - -{% for category in categories %} - -
-{{ category.name }} - -{% endfor %} \ No newline at end of file diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html deleted file mode 100644 index 8055f46023..0000000000 --- a/InvenTree/part/templates/part/detail.html +++ /dev/null @@ -1,4 +0,0 @@ -{{part}} - -
-Category:
{{ part.category }} \ No newline at end of file diff --git a/InvenTree/stock/templates/stock/index.html b/InvenTree/stock/templates/stock/index.html deleted file mode 100644 index 234cd000dc..0000000000 --- a/InvenTree/stock/templates/stock/index.html +++ /dev/null @@ -1,8 +0,0 @@ -Warehouses: - -{% for warehouse in warehouse %} - -
-{{ warehouse.name }} - -{% endfor %} \ No newline at end of file diff --git a/InvenTree/supplier/templates/supplier/detail.html b/InvenTree/supplier/templates/supplier/detail.html deleted file mode 100644 index 709ba79248..0000000000 --- a/InvenTree/supplier/templates/supplier/detail.html +++ /dev/null @@ -1 +0,0 @@ -{{ supplier }} \ No newline at end of file