diff --git a/core/admin/mailu/__init__.py b/core/admin/mailu/__init__.py index 5bb40447..3b88024f 100644 --- a/core/admin/mailu/__init__.py +++ b/core/admin/mailu/__init__.py @@ -57,6 +57,7 @@ def create_app_from_config(config): return dict( signup_domains= signup_domains, config = app.config, + get_locale = utils.get_locale, ) # Jinja filters diff --git a/core/admin/mailu/sso/templates/base_sso.html b/core/admin/mailu/sso/templates/base_sso.html index 9dfb25a5..6d196d6a 100644 --- a/core/admin/mailu/sso/templates/base_sso.html +++ b/core/admin/mailu/sso/templates/base_sso.html @@ -1,7 +1,7 @@ {%- import "macros.html" as macros %} {%- import "bootstrap/utils.html" as utils %} - +
@@ -34,8 +34,8 @@{% trans %}Sign in{% endtrans %}
+ ++ {% trans %}If you use an Apple device,{% endtrans %} + {% trans %}click here to autoconfigure it.{% endtrans %} +{%- endblock %} diff --git a/core/admin/mailu/ui/templates/domain/list.html b/core/admin/mailu/ui/templates/domain/list.html index 61c09151..4889bc8d 100644 --- a/core/admin/mailu/ui/templates/domain/list.html +++ b/core/admin/mailu/ui/templates/domain/list.html @@ -11,15 +11,16 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- call macros.table(order='[[2,"asc"]]') %}