1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-15 13:33:21 +02:00

Fix the signup domain list with non infinite mailbox max count

This commit is contained in:
kaiyou 2017-12-03 17:52:54 +01:00
parent 2662abedef
commit def0a8b89d

View File

@ -18,7 +18,7 @@
{% for domain_name, domain in available_domains.items() %}
<tr>
<td><a href="{{ url_for('.user_signup', domain_name=domain_name) }}">{{ domain_name }}</a></td>
<td>{{ domain.max_users - domain.users if domain.max_users else '∞' }}</td>
<td>{{ domain.max_users - (domain.users | count) if domain.max_users else '∞' }}</td>
<td>{{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }}</td>
</tr>
{% endfor %}