From a48417ac236d54f926b71ee83a5ae81ed6ea2540 Mon Sep 17 00:00:00 2001 From: Paul Hooijenga Date: Mon, 4 Sep 2017 15:34:01 +0200 Subject: [PATCH] Add missing template --- app/templates/dashboard_domain.html | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/templates/dashboard_domain.html diff --git a/app/templates/dashboard_domain.html b/app/templates/dashboard_domain.html new file mode 100644 index 0000000..47fe2bf --- /dev/null +++ b/app/templates/dashboard_domain.html @@ -0,0 +1,46 @@ +{% macro name(domain) %} + {{ domain.name }} +{% endmacro %} + +{% macro dnssec(domain) %} + {% if domain.dnssec %} + + {% else %} + + {% endif %} +{% endmacro %} + +{% macro type(domain) %} + {{ domain.type }} +{% endmacro %} + +{% macro serial(domain) %} + {% if domain.serial == 0 %}{{ domain.notified_serial }}{% else %}{{domain.serial}}{% endif %} +{% endmacro %} + +{% macro master(domain) %} + {% if domain.master == '[]'%}N/A{% else %}{{ domain.master|display_master_name }}{% endif %} +{% endmacro %} + +{% macro actions(domain) %} + {% if current_user.role.name !='Administrator' %} + + + + {% else %} + + + + + {% endif %} +{% endmacro %}