{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% load perms %} {% load i18n %} {% block control-buttons %} {% if object.managed %} {% else %} {{ block.super }} {% endif %} {% endblock control-buttons %} {% block breadcrumbs %} {% if object.managed %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block tabs %} {% if object.managed %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block content %}
{% if object.managed %}
{% else %}
{% endif %}
{% trans "Record" %}
{% if unicode_name %} {% endif %} {% if object.managed %} {% else %} {% endif %} {% if not object.managed or object.tenant %} {% endif %} {% if unicode_value %} {% endif %} {% if object.type == 'A' or object.type == 'AAAA' %} {% endif %} {% if object.ptr_record %} {% endif %} {% if object.address_record %} {% if object.address_record.ipam_ip_address %} {% endif %} {% endif %} {% if object.ipam_ip_address %} {% endif %} {% if object.description %} {% endif %}
{% trans "Name" %} {{ object.name }}
{% trans "IDN" %} {{ unicode_name }}
{% trans "Zone" %}{{ object.zone }}{{ object.zone }}
{% trans "Tenant" %} {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% trans "Type" %} {{ object.type }}
{% trans "Value" %} {{ object.value }}
{% trans "Unicode Value" %} {{ unicode_value }}
{% trans "TTL" %} {{ object.ttl|placeholder }}
{% trans "Disable PTR" %} {% checkmark object.disable_ptr %}
{% trans "PTR Record" %} {{ object.ptr_record|linkify }}
{% trans "Address Record" %} {{ object.address_record|linkify }}
{% trans "IPAM IP Address" %} {{ object.address_record.ipam_ip_address|linkify }}
{% trans "IPAM IP Address" %} {{ object.ipam_ip_address|linkify }}
Status {% badge object.get_status_display bg_color=object.get_status_color %}
{% trans "Description" %} {{ object.description }}
{% if cname_target_table %}
{% if cname_target_table.rows|length == 1 %}

{% trans "CNAME Target" %}

{% else %}

{% trans "CNAME Targets" %}

{% endif %}
{% render_table cname_target_table 'inc/table.html' %}
{% elif cname_table %}
{% if cname_table.rows|length == 1 %}

{% trans "CNAME" %}

{% else %}

{% trans "CNAMEs" %}

{% endif %}
{% render_table cname_table 'inc/table.html' %}
{% endif %} {% if not object.managed %} {% include 'inc/panels/custom_fields.html' %} {% endif %}
{% if not object.managed %}
{% include 'inc/panels/tags.html' %}
{% endif %}
{% endblock %}