diff --git a/storage/templates/item.html b/storage/templates/item.html index 8c0c988..2468bc5 100644 --- a/storage/templates/item.html +++ b/storage/templates/item.html @@ -12,10 +12,28 @@ {% include "widgets/categoryicon.html" with category=item.primary_category %} - {{ item.name }} {{ item.pk }} + {{ item.name }}
+ {% if labels %} +

Labels

+ + {% for label in labels %} +
+
+ {% csrf_token %} + +
+
+ {% csrf_token %} + + {{ label.id }} +
+
+ {% endfor %} + {% endif %} +

Details

{% if item.owner %} @@ -34,8 +52,11 @@ {% if item.taken_until %} {% endif %} + +
taken until{{ item.taken_until }}
pk{{ item.pk }}
+ {% if item.props.items %}

Properties

@@ -46,10 +67,9 @@ {% for k, v in item.props.items %} - {% empty %} - {% endfor %}
{{ k }}{{ v|urlize }}
No properties
+ {% endif %} {% if categories %}

Categories

@@ -80,20 +100,6 @@
{% endif %} - {% if labels %} -

Labels

- - {% for label in labels %} -
- {% csrf_token %} -
- - {{ label.id }} -
-
- {% endfor %} - {% endif %} - {% if history %}

Changes