From c8fb5db63c8fb20f5c1fb43f8d618e88ce742b76 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 2 Mar 2023 10:35:37 +0100 Subject: [PATCH] add dpp in device details --- .../templates/inventory/device_detail.html | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 762f7cb1..dcd1e3d2 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -81,6 +81,12 @@ + {% if placeholder.binding %} + + {% endif %} +
@@ -265,6 +271,32 @@
{% endif %} + + {% if placeholder.binding %} +
+
Digital Passports
+
+ {% for dpp in placeholder.binding.dpps %} +
+
+
+
+
Time Stamp
+ {{ dpp.timestamp }} +
+
+

+ {{ dpp.key }}
+

+ {{ dpp.created.strftime('%H:%M %d-%m-%Y') }} +
+
+
+ {% endfor %} +
+
+ {% endif %} +