From 873aa62878d7e55de6c6636b1ac15f04ddb97d87 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Feb 2024 18:19:18 +0100 Subject: [PATCH] Download instead of View Json --- idhub/templates/idhub/admin/issue_credentials.html | 2 +- idhub/templates/idhub/user/credential.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/idhub/templates/idhub/admin/issue_credentials.html b/idhub/templates/idhub/admin/issue_credentials.html index 51d14ba..216690e 100644 --- a/idhub/templates/idhub/admin/issue_credentials.html +++ b/idhub/templates/idhub/admin/issue_credentials.html @@ -51,7 +51,7 @@ {% if object.issued_on %}
{% endif %} diff --git a/idhub/templates/idhub/user/credential.html b/idhub/templates/idhub/user/credential.html index 7152049..ac5c14e 100644 --- a/idhub/templates/idhub/user/credential.html +++ b/idhub/templates/idhub/user/credential.html @@ -46,11 +46,13 @@ {% endif %}
- {% trans 'View credential in JSON format' %} + {% trans 'Download credential in JSON format' %}
{% endif %} {% if object.get_status == 'Enabled' %} +
{% trans 'Request credential' %} +
{% endif %} {% endblock %}