fix buttons of credential

This commit is contained in:
Cayo Puigdefabregas 2024-01-12 17:34:45 +01:00
parent eca9e6a19c
commit cf49672232

View file

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