show download credentials if it is issued
This commit is contained in:
parent
a52a5cd15d
commit
010cd169f7
|
@ -46,11 +46,13 @@
|
||||||
{{ object.get_status}}
|
{{ object.get_status}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if object.issued_on %}
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<a class="btn btn-green-admin" href="{% url 'idhub:admin_credential_json' object.id %}">{% trans 'View in JSON format' %}</a>
|
<a class="btn btn-green-admin" href="{% url 'idhub:admin_credential_json' object.id %}">{% trans 'View in JSON format' %}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Modal Revoke -->
|
<!-- Modal Revoke -->
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if object.issued_on %}
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
{% if object.eidas1_did and admin_validated %}
|
{% if object.eidas1_did and admin_validated %}
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
|
@ -47,5 +48,6 @@
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_json' object.id %}">{% trans 'View credential in JSON format' %}</a>
|
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_json' object.id %}">{% trans 'View credential in JSON format' %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue