From 0eebd4a00dfd2d8fe25c13321f7703f3add760de Mon Sep 17 00:00:00 2001 From: bcyrill Date: Thu, 26 Oct 2017 00:13:08 +0200 Subject: [PATCH] Update details.html - Fix assignment in template - Use updated environment option --- admin/mailu/ui/templates/domain/details.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/mailu/ui/templates/domain/details.html b/admin/mailu/ui/templates/domain/details.html index 5b3655de..d57e8fd1 100644 --- a/admin/mailu/ui/templates/domain/details.html +++ b/admin/mailu/ui/templates/domain/details.html @@ -15,7 +15,7 @@ {% endblock %} {% block box %} -{% let hostname = config["HOSTNAMES"].split(",")[0] %} +{% set hostname = config["HOSTNAMES"].split(",")[0] %} @@ -24,7 +24,7 @@ - +
{% trans %}DNS MX entry{% endtrans %}
{{ domain.name }}. 600 IN MX 10 {{ config["HOSTNAME"] }}.
{{ domain.name }}. 600 IN MX 10 {{ hostname }}.
{% trans %}DNS SPF entries{% endtrans %}