fix buttons of credential

This commit is contained in:
Cayo Puigdefabregas 2024-01-12 17:34:45 +01:00
parent eca9e6a19c
commit cf49672232
1 changed files with 10 additions and 10 deletions

View File

@ -36,16 +36,16 @@
{{ object.get_status}} {{ object.get_status}}
</div> </div>
</div> </div>
</div>
</div>
<div class="row mt-3"> <div class="row mt-3">
{% if object.public %} {% if object.public %}
<div class="col text-center"> <div class="col text-center">
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_pdf' object.id %}">{% trans 'View in PDF format' %}</a> <a class="btn btn-green-user" href="{% url 'idhub:user_credential_pdf' object.id %}">{% trans 'Sign credential in PDF format' %}</a>
</div> </div>
{% endif %} {% endif %}
<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 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>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}