diff --git a/templates/domains/overview.html b/templates/domains/overview.html index d97a9f4..dddca80 100644 --- a/templates/domains/overview.html +++ b/templates/domains/overview.html @@ -37,9 +37,9 @@ {{ domain.mnt_by.all|linkObjects }} - DNS-check - Edit - Delete + + + {% endfor %} @@ -60,7 +60,7 @@ {{ nameserver.glueIPv4|default:"-" }} {{ nameserver.glueIPv6|default:"-" }} {{ nameserver.mnt_by.all|linkObjects }} - Edit Delete + {% endfor %} @@ -85,9 +85,9 @@ - DNS-check - Edit - Delete + + + {% endfor %} diff --git a/templates/whoisdb/handle_table.html b/templates/whoisdb/handle_table.html index 2101ad7..3203596 100644 --- a/templates/whoisdb/handle_table.html +++ b/templates/whoisdb/handle_table.html @@ -12,8 +12,14 @@ {% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-edit" as editView %} {% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-delete" as deleteView %} - - + {% if object.getClassName == "Domain" %} + + {% elif object.getClassName == "ReverseZone" %} + + + {% endif %} + + {% endwith %} {% endwith %} diff --git a/templates/whoisdb/handle_table_row.html b/templates/whoisdb/handle_table_row.html index 5446dab..f838cbc 100644 --- a/templates/whoisdb/handle_table_row.html +++ b/templates/whoisdb/handle_table_row.html @@ -10,7 +10,7 @@ {{ obj.getResource|default:"-" }} {{ obj.mnt_by.all|linkObjects|default:"-" }}{% if obj.mnt_lower.all %} / lower: {{ obj.mnt_lower.all|linkObjects }}{% endif %} {{ obj.admin_c.all|linkObjects }} - Edit Delete + {% endwith %} {% endwith %}