add Manufacturer DPP in templates
This commit is contained in:
parent
0b70f42daa
commit
c8ab0a959e
|
@ -115,6 +115,13 @@
|
|||
<a href="{{ url_for('did.did', id_dpp=device_abstract.chid) }}">{{ device_abstract.chid }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Manufacturer DPP:
|
||||
</div>
|
||||
<div class="col">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Usody Identifier (DHID)
|
||||
|
|
|
@ -147,6 +147,13 @@
|
|||
<a href="{{ url_for('did.did', id_dpp=device_abstract.chid) }}">{{ device_abstract.chid|truncate(20, True, '...') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Manufacturer DPP:
|
||||
</div>
|
||||
<div class="col">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Last Digital Passport (Last Dpp):
|
||||
|
|
|
@ -147,6 +147,13 @@
|
|||
<a href="{{ url_for('did.did', id_dpp=device_abstract.chid) }}"><small class="text-muted">{{ device_abstract.chid }}</small></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Manufacturer DPP:
|
||||
</div>
|
||||
<div class="col">
|
||||
</div>
|
||||
</div>
|
||||
{% if last_dpp %}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in New Issue