{% load i18n webwhois_filters keyset_filters %}
{% for dns in keyset.dns_keys %} {% endfor %}
{% trans "Key set" %} {{ keyset.handle }}
{% trans "DNS Key" %}

{% trans "Flags" %}: {{ dns.flags }} ({{ dns.flags|dnskey_flag_labels }})

{% trans "Protocol" %}: {{ dns.protocol }} {% if dns.protocol == 3 %} (DNSSEC) {% endif %}

{% trans "Algorithm" %}: {{ dns.alg }} ({{ dns.alg|dnskey_alg_label }})

{% trans "Key" %}:

 {{ dns.public_key|text_wrap:40 }}

{% trans "Technical contact" %} {% for admin in keyset_admins %}

{{ admin.handle }} {% if admin.organization.value %} {% if admin.organization.disclose %} {{ admin.organization.value|default_if_none:'' }} {% endif %} {% else %} {% if admin.name.disclose %} {{ admin.name.value|default_if_none:'' }} {% endif %} {% endif %}

{% endfor %}
{% trans "Sponsoring registrar" %} {% with registrar=keyset_registrar %} {{ registrar.handle }} {{ registrar.name }} {% spaceless %} {% blocktrans with date=keyset.last_transfer|default:keyset.created trimmed %} since {{ date }} {% endblocktrans %} {% endspaceless %} {% endwith %}
{% trans "Status" %} {% for description in keyset_status_descriptions %}
{{ description }}
{% endfor %}