{% trans %}Edit zone template{% endtrans %} "{{templ_details['name']}}"
{{ pagination | raw }}
{% if records == "-1" %}
{% trans %}This zone template does not have any records yet.{% endtrans %}

{% else %}
{% for record in records %} {% if (record['type'] == "MX") or (record['type'] == "SRV") %} {% else %} {% endif %} {% endfor %}
{% trans %}Name{% endtrans %} {% trans %}Type{% endtrans %} {% trans %}Content{% endtrans %} {% trans %}Priority{% endtrans %} {% trans %}TTL{% endtrans %}  
{{record['name']}} {{record['type']}} {{record['content']}}{{record['prio']}} {{record['ttl']}} {% trans %}Edit{% endtrans %} {% trans %}Delete{% endtrans %}
  

{% trans %}Hint:{% endtrans %}
{% trans %}The following placeholders can be used in template records{% endtrans %}

     * [ZONE] - {% trans %}substituted with current zone name{% endtrans %}
     * [SERIAL] - {% trans %}substituted with current date and 2 numbers{% endtrans %} (YYYYMMDD + 00)
     * [NS1] - {% trans %}substituted with 1st name server{% endtrans %}
     * [NS2] - {% trans %}substituted with 2nd name server{% endtrans %}
     * [NS3] - {% trans %}substituted with 3rd name server{% endtrans %}
     * [NS4] - {% trans %}substituted with 4th name server{% endtrans %}
     * [HOSTMASTER] - {% trans %}substituted with hostmaster{% endtrans %}

{% trans %}Examples:{% endtrans %}
{% trans %}To add a subdomain foo in a zonetemplate you would put foo.[ZONE] into the name field.{% endtrans %}
{% trans %}To add a wildcard record put *.[ZONE] in the name field.{% endtrans %}
{% trans %}Use just [ZONE] to have the domain itself return a value.{% endtrans %}
{% trans %}For the SOA record, place [NS1] [HOSTMASTER] [SERIAL] 28800 7200 604800 86400 in the content field.{% endtrans %}
{% endif %}
{% if perm_is_godlike %} {% endif %}
{% trans %}Name{% endtrans %}
{% trans %}Provide a name for your template{% endtrans %}
{% trans %}Description{% endtrans %}