diff --git a/cp/resources/views/admin/domains/viewApplication.twig b/cp/resources/views/admin/domains/viewApplication.twig index 47a0160..8b93e54 100644 --- a/cp/resources/views/admin/domains/viewApplication.twig +++ b/cp/resources/views/admin/domains/viewApplication.twig @@ -87,18 +87,6 @@
{{ contact.identifier }}
{% endfor %}{% endif %} -
-
{{ __('Auth Type') }}
-
- {% if domain.authtype == 'pw' %} - Regular - {% elseif domain.authtype == 'ext' %} - HSM - {% else %} - {{ domain.authtype }} {# Fallback in case there are other types #} - {% endif %} -
-
{{ __('Auth Info') }}
@@ -114,16 +102,18 @@
{{ __('Nameservers') }}
-
- {% for host in domainHosts %} -
-
{{ __('Nameserver') }} {{ loop.index }}
- + {% if domainHosts is not empty %} +
+ {% for host in domainHosts %} +
+
{{ __('Nameserver') }} {{ loop.index }}
+ +
+ {% endfor %}
- {% endfor %} -
+ {% endif %}
diff --git a/cp/resources/views/admin/domains/viewDomain.twig b/cp/resources/views/admin/domains/viewDomain.twig index 307cafd..624bd13 100644 --- a/cp/resources/views/admin/domains/viewDomain.twig +++ b/cp/resources/views/admin/domains/viewDomain.twig @@ -94,18 +94,6 @@
{% endfor %}{% endif %} -
-
{{ __('Auth Type') }}
-
- {% if domainAuth.authtype == 'pw' %} - Regular - {% elseif domainAuth.authtype == 'ext' %} - HSM - {% else %} - {{ domainAuth.authtype }} {# Fallback in case there are other types #} - {% endif %} -
-
{{ __('Auth Info') }}
@@ -121,16 +109,18 @@
{{ __('Nameservers') }}
-
- {% for host in domainHosts %} -
-
{{ __('Nameserver') }} {{ loop.index }}
- + {% if domainHosts is not empty %} +
+ {% for host in domainHosts %} +
+
{{ __('Nameserver') }} {{ loop.index }}
+ +
+ {% endfor %}
- {% endfor %} -
+ {% endif %}