From 2a4402cdc2424b3eea2575198c116394ca86298f Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 3 Nov 2022 15:41:42 +0100 Subject: [PATCH] Fix datatable for list fo sign-up domains --- .../mailu/ui/templates/user/signup_domain.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/core/admin/mailu/ui/templates/user/signup_domain.html b/core/admin/mailu/ui/templates/user/signup_domain.html index 433d1b3f..1d13f656 100644 --- a/core/admin/mailu/ui/templates/user/signup_domain.html +++ b/core/admin/mailu/ui/templates/user/signup_domain.html @@ -10,11 +10,14 @@ {%- block content %} {%- call macros.table(order='[[1,"asc"]]') %} - - {% trans %}Domain{% endtrans %} - {% trans %}Available slots{% endtrans %} - {% trans %}Quota{% endtrans %} - + + + {% trans %}Domain{% endtrans %} + {% trans %}Available slots{% endtrans %} + {% trans %}Quota{% endtrans %} + + + {%- for domain_name, domain in available_domains.items() %} {{ domain_name }} @@ -22,5 +25,6 @@ {{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }} {%- endfor %} + {%- endcall %} {%- endblock %}