diff --git a/ereuse_devicehub/modules/did/templates/anonymous.html b/ereuse_devicehub/modules/did/templates/anonymous.html index a154468c..d0c03229 100644 --- a/ereuse_devicehub/modules/did/templates/anonymous.html +++ b/ereuse_devicehub/modules/did/templates/anonymous.html @@ -115,6 +115,13 @@ {{ device_abstract.chid }} +
+
+ Manufacturer DPP: +
+
+
+
Usody Identifier (DHID) diff --git a/ereuse_devicehub/modules/did/templates/operator.html b/ereuse_devicehub/modules/did/templates/operator.html index 797c7cd6..d0528a87 100644 --- a/ereuse_devicehub/modules/did/templates/operator.html +++ b/ereuse_devicehub/modules/did/templates/operator.html @@ -147,6 +147,13 @@ {{ device_abstract.chid|truncate(20, True, '...') }}
+
+
+ Manufacturer DPP: +
+
+
+
Last Digital Passport (Last Dpp): diff --git a/ereuse_devicehub/modules/did/templates/verifier.html b/ereuse_devicehub/modules/did/templates/verifier.html index ac0e17b9..6e377097 100644 --- a/ereuse_devicehub/modules/did/templates/verifier.html +++ b/ereuse_devicehub/modules/did/templates/verifier.html @@ -147,6 +147,13 @@ {{ device_abstract.chid }}
+
+
+ Manufacturer DPP: +
+
+
+
{% if last_dpp %}
diff --git a/ereuse_devicehub/modules/did/views.py b/ereuse_devicehub/modules/did/views.py index 6d661019..6ebf55a7 100644 --- a/ereuse_devicehub/modules/did/views.py +++ b/ereuse_devicehub/modules/did/views.py @@ -172,6 +172,7 @@ class DidView(View): 'dpp': self.id_dpp, 'algorithm': "sha3_256", 'components': components, + 'manufacturer DPP': '', } result = { '@context': ['https://ereuse.org/dpp0.json'], @@ -198,6 +199,7 @@ class DidView(View): 'dpp': d.key, 'document': d.snapshot.json_hw, 'algorithm': "sha3_256", + 'manufacturer DPP': '', } dpps.append(rr) return {