{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if total_count %}

{% blocktrans trimmed count counter=total_count %} You are about to destroy {{ counter }} data encryption key. This cannot be undone. {% plural %} You are about to destroy {{ counter }} data encryption keys. This cannot be undone. {% endblocktrans %}

{% else %}

{% trans "None of the selected data encryption keys can be deleted yet." %}

{% endif %} {% if retained_count %}

{% blocktrans trimmed count counter=retained_count with reasons=retained_reasons %} {{ counter }} selected key will not be destroyed ({{ reasons }}) and is not listed below. Nothing about it changes, so resolving the cause and deleting again works. {% plural %} {{ counter }} selected keys will not be destroyed ({{ reasons }}) and are not listed below. Nothing about them changes, so resolving the cause and deleting again works. {% endblocktrans %}

{% endif %} {% if unscheduled_count %}

{% blocktrans trimmed count counter=unscheduled_count %} {{ counter }} selected key is not scheduled for deletion, so there is nothing to delete and it is not listed below. Schedule it first — the deletion only ever acts on scheduled work whose restore window has closed. {% plural %} {{ counter }} selected keys are not scheduled for deletion, so there is nothing to delete and they are not listed below. Schedule them first — the deletion only ever acts on scheduled work whose restore window has closed. {% endblocktrans %}

{% endif %} {% if unexpired_count %}

{% blocktrans trimmed count counter=unexpired_count %} {{ counter }} selected key is scheduled but still inside its restore window, and is not listed below. It will not be touched until the window closes. {% plural %} {{ counter }} selected keys are scheduled but still inside their restore window, and are not listed below. They will not be touched until the window closes. {% endblocktrans %}

{% endif %} {% if total_count %} {% for row in rows %} {% endfor %}
{% trans "Silo UID" %} {% trans "Purpose" %} {% trans "KEK name" %} {% trans "KMS" %} {% trans "Undeletable until" %}
{{ row.silo_uid }} {{ row.get_purpose_display|default:row.purpose }} {{ row.kek.kek_resource_name }} {{ row.kek.key_store }} {{ row.undeletable_until|date:"SHORT_DATE_FORMAT"|default:"—" }}
{% endif %}
{% csrf_token %} {% for pk in selected %}{% endfor %}
{% if total_count %} {% endif %} {% trans "No, take me back" %}
{% endblock %}