From b6b8c6a1f92cf5bec86bda4b76d68f5ead5a806d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 18 Apr 2023 10:10:43 +0200 Subject: [PATCH] add new columns --- .../templates/inventory/device_detail.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index c5e65e37..5aa45f06 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -214,6 +214,8 @@ File + Type + Description Uploaded on @@ -230,8 +232,14 @@ {% endif %} - {{ doc.created.strftime('%Y-%m-%d %H:%M')}} + {{ doc.type }} + + + {{ doc.description|truncate(30, True) }} + + {{ doc.created.strftime('%Y-%m-%d %H:%M') }} +