From 4acccb7d94e7424255bc49385b544e460948ba73 Mon Sep 17 00:00:00 2001 From: radex Date: Mon, 11 May 2020 20:55:57 +0200 Subject: [PATCH] Hide item history by default --- storage/templates/item.html | 9 ++++++++- templates/base.html | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/storage/templates/item.html b/storage/templates/item.html index 81c1a46..dd63c02 100644 --- a/storage/templates/item.html +++ b/storage/templates/item.html @@ -105,6 +105,12 @@ {% endif %} {% if history %} +
+ +
+

Changes

{% for entry in history %} @@ -116,6 +122,7 @@ {% endfor %}
+
{% endif %} @@ -125,7 +132,7 @@ {{ item.description|markdown:"code-color" }} {% endif %} -

Children

+

What's inside?

{% include "widgets/itemlist.html" with list=children|dictsort:"name" item=item %} diff --git a/templates/base.html b/templates/base.html index 8e30783..b77c4c4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -20,7 +20,7 @@ - Hackerspace Storage System + Hackerspace Storage