From 83067fd2bb8c7b264b5112c71d4c354b64e32099 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 25 May 2022 17:33:54 +0200 Subject: [PATCH] modify updated and add registered --- ereuse_devicehub/templates/inventory/device_list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index b5c3ccd1..0f8096a8 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -350,7 +350,8 @@ Lifecycle Status Allocated Status Physical Status - Update + Updated in + Registered in @@ -395,7 +396,8 @@ {% if dev.status %}{{ dev.status.type }}{% endif %} {% if dev.allocated_status %}{{ dev.allocated_status.type }}{% endif %} {% if dev.physical_status %}{{ dev.physical_status.type }}{% endif %} - {{ dev.updated.strftime('%H:%M %d-%m-%Y') }} + {{ dev.updated.strftime('%Y-%m-%d %H:%M:%S')}} + {{ dev.created.strftime('%Y-%m-%d %H:%M:%S')}}