add delete credential in all cases

This commit is contained in:
Cayo Puigdefabregas 2024-02-21 10:46:57 +01:00
parent e558d9145d
commit a52a5cd15d
1 changed files with 0 additions and 3 deletions

View File

@ -12,11 +12,8 @@
<div class="col text-end">
{% if object.get_status == 'Issued' %}
<a class="btn btn-yellow" class="btn btn-orange" data-bs-toggle="modal" data-bs-target="#confirm-revoke" href="javascript:void()">{% trans 'Revoke' %}</a>
<a class="btn btn-orange" class="btn btn-orange" data-bs-toggle="modal" data-bs-target="#confirm-delete" href="javascript:void()">{% trans 'Delete' %}</a>
{% endif %}
{% if object.get_status == 'Revoked' %}
<a class="btn btn-orange" class="btn btn-orange" data-bs-toggle="modal" data-bs-target="#confirm-delete" href="javascript:void()">{% trans 'Delete' %}</a>
{% endif %}
</div>
</div>
<div class="row">