From d8ebfbe020e0d4db069e67810bb276b8ddb95b5d Mon Sep 17 00:00:00 2001 From: kaiyou Date: Tue, 16 Jan 2018 20:01:44 +0100 Subject: [PATCH] Display infinite user quotas correctly, fixes #368 --- core/admin/mailu/ui/templates/user/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/ui/templates/user/list.html b/core/admin/mailu/ui/templates/user/list.html index 46638b6b..7d908fe0 100644 --- a/core/admin/mailu/ui/templates/user/list.html +++ b/core/admin/mailu/ui/templates/user/list.html @@ -41,7 +41,7 @@ {% if user.enable_imap %}imap{% endif %} {% if user.enable_pop %}pop3{% endif %} - {{ user.quota_bytes | filesizeformat }} + {{ (user.quota_bytes | filesizeformat) if user.quota_bytes else '∞' }} {{ user.comment or '-' }} {{ user.created_at }} {{ user.updated_at or '' }}