{% extends 'generic/object.html' %} {% load render_table from django_tables2 %} {% load i18n %} {% block content %}
{% trans "DNSSEC Key" %}
{% if object.description %} {% endif %} {% if object.tenant %} {% endif %}
{% trans "Name" %} {{ object.name }}
{% trans "Description" %} {{ object.description }}
{% trans "Type" %} {% badge object.get_type_display bg_color=object.get_type_color %}
{% trans "Lifetime" %} {{ object.lifetime|placeholder }}
{% trans "Algorithm" %} {% badge object.get_algorithm_display %}
{% trans "Key Size" %} {% badge object.get_key_size_display %}
{% trans "Tenant" %} {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
{% if policy_table %}
{% if policy_table.rows|length == 1 %}

{% trans "Policy" %}

{% else %}

{% trans "Policies" %}

{% endif %}
{% render_table policy_table 'inc/table.html' %}
{% endif %} {% endblock %}