diff --git a/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html b/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html index cc9632d..eae6752 100644 --- a/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html +++ b/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html @@ -91,12 +91,24 @@ {{ domain.domain }} {% if domain.domain.maildomain %} - {{ domain.domain.maildomain.mailaddresses|join:", " }} + + {% with maildomain=domain.domain.maildomain %} + {% for mailaddress in maildomain.mailaddresses %}{% spaceless %} + {{ mailaddress }} + + {% endspaceless %}{% if not forloop.last %}, {% endif %} + {% endfor %} + {% endwith %} + {% else %} {% trans "None" %} {% endif %} - + + {% with maildomain=domain.domain.maildomain %} + + {% endwith %} + {% endfor %}