From e0d2432c6b60864d5519eee396a6fac3a7a85ba3 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 8 Nov 2022 16:22:24 +0100 Subject: [PATCH] Rename data-ordered to data-sort --- core/admin/mailu/ui/templates/alias/list.html | 4 ++-- core/admin/mailu/ui/templates/alternative/list.html | 4 ++-- core/admin/mailu/ui/templates/domain/list.html | 2 +- core/admin/mailu/ui/templates/fetch/list.html | 6 +++--- core/admin/mailu/ui/templates/relay/list.html | 4 ++-- core/admin/mailu/ui/templates/token/list.html | 4 ++-- core/admin/mailu/ui/templates/user/list.html | 8 ++++---- core/admin/mailu/ui/templates/user/signup_domain.html | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/core/admin/mailu/ui/templates/alias/list.html b/core/admin/mailu/ui/templates/alias/list.html index 93b6fa73..833e44c1 100644 --- a/core/admin/mailu/ui/templates/alias/list.html +++ b/core/admin/mailu/ui/templates/alias/list.html @@ -34,8 +34,8 @@ {{ alias }} {{ alias.destination|join(', ') or '-' }} {{ alias.comment or '' }} - {{ alias.created_at | format_date }} - {{ alias.updated_at | format_date }} + {{ alias.created_at | format_date }} + {{ alias.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/alternative/list.html b/core/admin/mailu/ui/templates/alternative/list.html index bc018c3d..97482ac3 100644 --- a/core/admin/mailu/ui/templates/alternative/list.html +++ b/core/admin/mailu/ui/templates/alternative/list.html @@ -29,8 +29,8 @@ {{ alternative }} - {{ alternative.created_at | format_date }} - {{ alternative.updated_at | format_date }} + {{ alternative.created_at | format_date }} + {{ alternative.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/domain/list.html b/core/admin/mailu/ui/templates/domain/list.html index 4363e2b8..4889bc8d 100644 --- a/core/admin/mailu/ui/templates/domain/list.html +++ b/core/admin/mailu/ui/templates/domain/list.html @@ -47,7 +47,7 @@ {{ domain.users | count }} / {{ '∞' if domain.max_users == -1 else domain.max_users }} {{ domain.aliases | count }} / {{ '∞' if domain.max_aliases == -1 else domain.max_aliases }} {{ domain.comment or '' }} - {% if domain.signup_enabled %}{% trans %}yes{% endtrans %}{% else %}{% trans %}no{% endtrans %}{% endif %} + {% if domain.signup_enabled %}{% trans %}yes{% endtrans %}{% else %}{% trans %}no{% endtrans %}{% endif %} {{ domain.created_at | format_date }} {{ domain.updated_at | format_date }} diff --git a/core/admin/mailu/ui/templates/fetch/list.html b/core/admin/mailu/ui/templates/fetch/list.html index 05a2f095..7a527ce8 100644 --- a/core/admin/mailu/ui/templates/fetch/list.html +++ b/core/admin/mailu/ui/templates/fetch/list.html @@ -35,11 +35,11 @@ {{ fetch.protocol }}{{ 's' if fetch.tls else '' }}://{{ fetch.host }}:{{ fetch.port }} {{ fetch.username }} - {% if fetch.keep %}{% trans %}yes{% endtrans %}{% else %}{% trans %}no{% endtrans %}{% endif %} + {% if fetch.keep %}{% trans %}yes{% endtrans %}{% else %}{% trans %}no{% endtrans %}{% endif %} {{ fetch.last_check | format_datetime or '-' }} {{ fetch.error or '-' }} - {{ fetch.created_at | format_date }} - {{ fetch.updated_at | format_date }} + {{ fetch.created_at | format_date }} + {{ fetch.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/relay/list.html b/core/admin/mailu/ui/templates/relay/list.html index e1184769..90d13e11 100644 --- a/core/admin/mailu/ui/templates/relay/list.html +++ b/core/admin/mailu/ui/templates/relay/list.html @@ -32,8 +32,8 @@ {{ relay.name }} {{ relay.smtp or '-' }} {{ relay.comment or '' }} - {{ relay.created_at | format_date }} - {{ relay.updated_at | format_date }} + {{ relay.created_at | format_date }} + {{ relay.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/token/list.html b/core/admin/mailu/ui/templates/token/list.html index 21cd3df7..a6eee9c3 100644 --- a/core/admin/mailu/ui/templates/token/list.html +++ b/core/admin/mailu/ui/templates/token/list.html @@ -31,8 +31,8 @@ {{ token.comment }} {{ token.ip or "any" }} - {{ token.created_at | format_date }} - {{ token.updated_at | format_date }} + {{ token.created_at | format_date }} + {{ token.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/user/list.html b/core/admin/mailu/ui/templates/user/list.html index 96e917cc..14626212 100644 --- a/core/admin/mailu/ui/templates/user/list.html +++ b/core/admin/mailu/ui/templates/user/list.html @@ -39,14 +39,14 @@   {{ user }} - + {% if user.enable_imap %}imap{% endif %} {% if user.enable_pop %}pop3{% endif %} - {{ user.quota_bytes_used | filesizeformat }} / {{ (user.quota_bytes | filesizeformat) if user.quota_bytes else '∞' }} + {{ user.quota_bytes_used | filesizeformat }} / {{ (user.quota_bytes | filesizeformat) if user.quota_bytes else '∞' }} {{ user.comment or '-' }} - {{ user.created_at | format_date }} - {{ user.updated_at | format_date }} + {{ user.created_at | format_date }} + {{ user.updated_at | format_date }} {%- endfor %} diff --git a/core/admin/mailu/ui/templates/user/signup_domain.html b/core/admin/mailu/ui/templates/user/signup_domain.html index 1d13f656..519f73ed 100644 --- a/core/admin/mailu/ui/templates/user/signup_domain.html +++ b/core/admin/mailu/ui/templates/user/signup_domain.html @@ -21,8 +21,8 @@ {%- for domain_name, domain in available_domains.items() %} {{ domain_name }} - {{ '∞' if domain.max_users == -1 else domain.max_users - (domain.users | count)}} - {{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }} + {{ '∞' if domain.max_users == -1 else domain.max_users - (domain.users | count)}} + {{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }} {%- endfor %}