fix buttons of credential
This commit is contained in:
parent
eca9e6a19c
commit
cf49672232
|
@ -36,16 +36,16 @@
|
||||||
{{ object.get_status}}
|
{{ object.get_status}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mt-3">
|
</div>
|
||||||
{% if object.public %}
|
</div>
|
||||||
<div class="col text-center">
|
<div class="row mt-3">
|
||||||
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_pdf' object.id %}">{% trans 'View in PDF format' %}</a>
|
{% if object.public %}
|
||||||
</div>
|
<div class="col text-center">
|
||||||
{% endif %}
|
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_pdf' object.id %}">{% trans 'Sign credential in PDF format' %}</a>
|
||||||
<div class="col text-center">
|
</div>
|
||||||
<a class="btn btn-green-user" href="{% url 'idhub:user_credential_json' object.id %}">{% trans 'View in JSON format' %}</a>
|
{% endif %}
|
||||||
</div>
|
<div class="col text-center">
|
||||||
</div>
|
<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>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue