fix delete credential

This commit is contained in:
Cayo Puigdefabregas 2024-02-26 11:55:42 +01:00
parent 4ed3225ce5
commit 812ac6ab91
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@
{% 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>
{% endif %}
{% if object.get_status == 'Enabled' %}
<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">