From 3427f81a346c76af35cd5e32f4f6902f80720cb9 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 2 Jun 2019 14:47:40 +1000 Subject: [PATCH] Improve part information display - Better terminology --- InvenTree/part/templates/part/detail.html | 58 +++++++++++++---------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index 9765a2574e..4522d47236 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -90,30 +90,6 @@ Units {{ part.units }} - - -
- - - - - - - - - - - - - - - - - - - - - {% if part.minimum_stock > 0 %} @@ -122,6 +98,40 @@ {% endif %}
Buildable{% include "yesnolabel.html" with value=part.buildable %}
Consumable{% include "yesnolabel.html" with value=part.consumable %}
Trackable{% include "yesnolabel.html" with value=part.trackable %}
Purchaseable{% include "yesnolabel.html" with value=part.purchaseable %}
Salable{% include "yesnolabel.html" with value=part.salable %}
Minimum Stock
+
+ + {% if part.buildable %} + + + + + {% endif %} + {% if part.consumable %} + + + + + {% endif %} + {% if part.trackable %} + + + + + {% endif %} + {% if part.purchaseable %} + + + + + {% endif %} + {% if part.salable %} + + + + + {% endif %} +
AssemblyThis part can be assembled from other parts
ComponentThis part can be used in assemblies
TrackableStock for this part will be tracked by (serial or batch)
PurchaseableThis part can be purchased from external suppliers
SalableThis part can be sold to customers
+
{% if part.notes %}