diff --git a/storage/templates/item.html b/storage/templates/item.html index ba2798d..041a721 100644 --- a/storage/templates/item.html +++ b/storage/templates/item.html @@ -16,6 +16,24 @@
+ + + {% for label in labels %} +
+
+ {% csrf_token %} + +
+
+ {% csrf_token %} + + {% if not has_one_label %} + {{ label.id }} + {% endif %} +
+
+ {% endfor %} + {% if item.owner %} @@ -38,58 +56,32 @@ -
owner{{ item.owner }}
+ - {% if labels and not has_one_label %} -

Labels

- {% endif %} - - {% for label in labels %} -
-
- {% csrf_token %} - -
-
- {% csrf_token %} - - {% if not has_one_label %} - {{ label.id }} - {% endif %} -
-
- {% endfor %} - - {% if item.props.items %} -

Properties

- - - - - - - - {% for k, v in item.props.items %} - - {% endfor %} -
keyvalue
{{ k }}{{ v|urlize }}
- {% endif %} - - {% if categories %} -

Categories

- {% for category in categories %} - {% endfor %} + + {% for k, v in item.props.items %} + + {% endfor %} + + {% if labels %} + + {% endif %}
- {% include "widgets/categoryicon.html" with category=category %} + + category - {{ category.name }} + {% include "widgets/categoryicon.html" with category=category %} + {{ category.name }}
{{ k }}{{ v|urlize }}
a.k.a. + {% for label in labels %} + {{ label.id }}, + {% endfor %} +
- {% endif %} {% if images %}

Photos