From 662688b6e9d4d6eb6bab47cdb215e35490221e9c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Feb 2024 17:26:07 +0100 Subject: [PATCH] download json only for issued credentials --- idhub/templates/idhub/user/credential.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/idhub/templates/idhub/user/credential.html b/idhub/templates/idhub/user/credential.html index b78e81b..7152049 100644 --- a/idhub/templates/idhub/user/credential.html +++ b/idhub/templates/idhub/user/credential.html @@ -38,7 +38,7 @@ - {% if object.issued_on %} + {% if object.get_status == 'Issued' %}
{% if object.eidas1_did and admin_validated %} {% endif %} + {% if object.get_status == 'Enabled' %} + {% trans 'Request credential' %} + {% endif %}
{% endblock %}