{% 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. {% plural %} {{ counter }} selected keys cannot be scheduled. {% endblocktrans %}

{% for row, reason in blocked %} {% endfor %}
{% trans "Silo UID" %} {% trans "Purpose" %} {% trans "Reason" %}
{{ row.silo_uid }} {{ row.get_purpose_display|default:row.purpose }} {{ reason|capfirst }}
{% endif %} {% if inactive_count %}

{% blocktrans trimmed count counter=inactive_count %} {{ counter }} selected key is not active — already scheduled or deleted — so there is nothing to schedule and it is not listed below. {% plural %} {{ counter }} selected keys are not active — already scheduled 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 }} data encryption key. {% plural %} You are about to schedule deletion of {{ counter }} data encryption keys. {% endblocktrans %}

{% endif %} {% if live_count %}

{% blocktrans trimmed count counter=live_count with total=total_count ttl=cache_ttl %} {{ counter }} of {{ total }} selected keys belongs to a silo that is still live. Scheduling blocks its encryption and decryption within DEK_CACHE_TTL ({{ ttl }} seconds). {% plural %} {{ counter }} of {{ total }} selected keys belong to silos that are still live. Scheduling blocks their encryption and decryption within DEK_CACHE_TTL ({{ ttl }} seconds). {% endblocktrans %}

{% endif %} {% for row in rows %} {% endfor %}
{% trans "Silo UID" %} {% trans "Purpose" %} {% trans "KEK name" %}
{{ row.silo_uid }} {{ row.purpose }} {{ row.kek.kek_resource_name }}
{% csrf_token %} {% for pk in selected %}{% endfor %}
{% if total_count %} {% endif %} {% trans "No, take me back" %}
{% endblock %}