| {% trans %}Name{% endtrans %} {% if zone_sort_by == 'name' %} {% endif %} | {% trans %}Type{% endtrans %} {% if zone_sort_by == 'type' %} {% endif %} | {% trans %}Records{% endtrans %} {% if zone_sort_by == 'count_records' %} {% endif %} | {% trans %}Owner{% endtrans %} {% if zone_sort_by == 'fullname' %} {% endif %} | |
|---|---|---|---|---|
| {{ zone['name'] }} | {{ zone['type'] }} | {{ zone['count_records'] }} | {{ zone['fullname'] }} | {% if edit_permission == 'all' or ((edit_permission == 'own' or edit_permission == 'own_as_client') and zone['user_id'] == user_id) %} {% trans %}Edit{% endtrans %} {% trans %}Delete{% endtrans %} {% endif %} |
| {% trans %}Name{% endtrans %} {% if record_sort_by == 'name' %} {% endif %} | {% trans %}Type{% endtrans %} {% if record_sort_by == 'type' %} {% endif %} | {% trans %}Priority{% endtrans %} {% if record_sort_by == 'prio' %} {% endif %} | {% trans %}Content{% endtrans %} {% if record_sort_by == 'content' %} {% endif %} | {% trans %}TTL{% endtrans %} {% if record_sort_by == 'ttl' %} {% endif %} | {% trans %}Disabled{% endtrans %} {% if record_sort_by == 'disabled' %} {% endif %} | |
|---|---|---|---|---|---|---|
| {{ record['name'] }} | {{ record['type'] }} | {{ record['prio'] }} | {{ record['content'] }} | {{ record['ttl'] }} | {{ record['disabled'] }} | {% if edit_permission == 'all' or ((edit_permission == 'own' or edit_permission == 'own_as_client') and record['user_id'] == user_id) %} {% trans %}Edit{% endtrans %} {% trans %}Delete{% endtrans %} {% endif %} |