{% extends 'netbox_dns/zone/base.html' %}
{% load plugins %}
{% load helpers %}
{% load i18n %}
{% load netbox_dns %}
{% load tz %}
{% block content %}
| {% trans "Name" %} |
{{ object.name }} |
{% if unicode_name %}
| {% trans "IDN" %} |
{{ unicode_name }} |
{% endif %}
{% if parent_zone %}
| {% trans "Parent Zone" %} |
{{ parent_zone|linkify }} |
{% endif %}
| {% trans "View" %} |
{{ object.view|linkify }} |
{% if object.description %}
| {% trans "Description" %} |
{{ object.description }} |
{% endif %}
{% if object.tenant %}
| {% trans "Tenant" %} |
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
{% endif %}
{{ object.tenant|linkify|placeholder }}
|
{% endif %}
| {% trans "Status" %} |
{% badge object.get_status_display bg_color=object.get_status_color %} |
| {% trans "Nameservers" %} |
{% for nameserver in object.nameservers.all %}
| {{ nameserver|linkify }} |
{% endfor %}
|
{% if nameserver_warnings %}
| {% trans "Warnings" %} |
{% for warning in nameserver_warnings %}
| {{ warning }} |
{% endfor %}
|
{% endif %}
{% if nameserver_errors %}
| {% trans "Errors" %} |
{% for error in nameserver_errors %}
| {{ error }} |
{% endfor %}
|
{% endif %}
| {% trans "Default TTL" %} |
{{ object.default_ttl }} |
{% if object.dnssec_policy %}
| {% trans "Policy" %} |
{{ object.dnssec_policy|linkify }} |
| {% trans "Parental Agents" %} |
{% for parental_agent in object.parental_agents %}
| {{ parental_agent }} |
{% endfor %}
|
{% endif %}
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/comments.html' %}
{% plugin_left_page object %}
| {% trans "TTL" %} |
{{ object.soa_ttl }} |
| {% trans "MName" %} |
{{ object.soa_mname|linkify }} |
{% if mname_warning %}
| {% trans "Warning" %} |
{{ mname_warning }} |
{% endif %}
| {% trans "RName" %} |
{{ object.soa_rname }} |
{% if object.soa_serial_auto %}
| {% trans "Serial (auto-generated)" %} |
| {{ object.soa_serial }} |
{{ object.soa_serial|epoch_to_utc|isodatetime }} |
|
{% else %}
| {% trans "Serial" context "SOA" %} |
{{ object.soa_serial }} |
{% endif %}
| {% trans "Refresh" %} |
{{ object.soa_refresh }} |
| {% trans "Retry" %} |
{{ object.soa_retry }} |
| {% trans "Expire" %} |
{{ object.soa_expire }} |
| {% trans "Minimum TTL" %} |
{{ object.soa_minimum }} |
{% if object.rfc2317_prefix %}
| {% trans "Prefix" %} |
{{ object.rfc2317_prefix }} |
| {% trans "Parent Managed" %} |
{% checkmark object.rfc2317_parent_managed %} |
{% if object.rfc2317_parent_managed %}
| {% trans "Parent Zone" %} |
{{ object.rfc2317_parent_zone|linkify }} |
{% endif %}
{% endif %}
{% plugin_right_page object %}