From 3af3aa93957446762d6d916c432cbe01e024de31 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 23 Jan 2023 23:00:59 +0100 Subject: [PATCH] Show quota in domain list --- core/admin/mailu/ui/templates/domain/list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/admin/mailu/ui/templates/domain/list.html b/core/admin/mailu/ui/templates/domain/list.html index 4889bc8d..c4b4cd51 100644 --- a/core/admin/mailu/ui/templates/domain/list.html +++ b/core/admin/mailu/ui/templates/domain/list.html @@ -19,6 +19,7 @@ {% trans %}Domain name{% endtrans %} {% trans %}Mailbox count{% endtrans %} {% trans %}Alias count{% endtrans %} + {% trans %}Quota{% endtrans %} {% trans %}Comment{% endtrans %} {% trans %}Enable sign-up{% endtrans %} {% trans %}Created{% endtrans %} @@ -46,6 +47,7 @@ {{ domain.name }} {{ 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.max_quota_bytes | filesizeformat) if domain.max_quota_bytes else '∞' }} {{ domain.comment or '' }} {% if domain.signup_enabled %}{% trans %}yes{% endtrans %}{% else %}{% trans %}no{% endtrans %}{% endif %} {{ domain.created_at | format_date }}