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

{% blocktrans trimmed count counter=blocked|length %} {{ counter }} selected key cannot be scheduled: live data still depends on it, and destroying it would make that data permanently unreadable. {% plural %} {{ counter }} selected keys cannot be scheduled: live data still depends on them, and destroying them would make that data permanently unreadable. {% endblocktrans %}

{% for row, in_use in blocked %} {% endfor %}
{% trans "KEK name" %} {% trans "KMS" %} {% trans "Silos still holding keysets" %}
{{ row.kek_resource_name }} {{ row.key_store }} {{ in_use }}
{% endif %} {% if inactive_count %}

{% blocktrans trimmed count counter=inactive_count %} {{ counter }} selected key is not active — already scheduled, retained, or deleted — so there is nothing to schedule and it is not listed below. {% plural %} {{ counter }} selected keys are not active — already scheduled, retained, or deleted — so there is nothing to schedule and they are not listed below. {% endblocktrans %}

{% endif %} {% if test_count %}

{% blocktrans trimmed count counter=test_count %} {{ counter }} selected key belongs to the test console, which has its own deletion path, and is not listed below. {% plural %} {{ counter }} selected keys belong to the test console, which has its own deletion path, and are not listed below. {% endblocktrans %}

{% endif %} {% if total_count %}

{% blocktrans trimmed count counter=total_count %} You are about to schedule deletion of {{ counter }} key encryption key. {% plural %} You are about to schedule deletion of {{ counter }} key encryption keys. {% endblocktrans %}

{% endif %} {% if in_use_count %}

{% blocktrans trimmed count counter=in_use_count with total=total_count %} {{ counter }} of {{ total }} selected keys still wraps live keysets. Every silo counted below loses its data permanently if that key is destroyed. {% plural %} {{ counter }} of {{ total }} selected keys still wrap live keysets. Every silo counted below loses its data permanently if those keys are destroyed. {% endblocktrans %}

{% endif %} {% if total_count %} {% for row, in_use in rows %} {% endfor %}
{% trans "KEK name" %} {% trans "KMS" %} {% trans "Disposition" %} {% trans "Silos still holding keysets" %}
{{ row.kek_resource_name }} {{ row.key_store }} {{ row.get_disposition_display|default:"—" }} {% if in_use %}{{ in_use }}{% else %}0{% endif %}
{% endif %}
{% csrf_token %} {% for pk in selected %}{% endfor %}
{% if total_count %} {% endif %} {% trans "No, take me back" %}
{% endblock %}