|
|
@ -40,9 +40,9 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>{{ user }}</td>
|
|
|
|
<td>{{ user }}</td>
|
|
|
|
<td data-sort="{{ user.allow_spoofing*4 + user.enable_imap*2 + user.enable_pop }}">
|
|
|
|
<td data-sort="{{ user.allow_spoofing*4 + user.enable_imap*2 + user.enable_pop }}">
|
|
|
|
{% if user.enable_imap %}<span class="badge bg-info">imap</span>{% endif %}
|
|
|
|
{% if user.enable_imap %}<span class="badge bg-primary">imap</span>{% endif %}
|
|
|
|
{% if user.enable_pop %}<span class="badge bg-info">pop3</span>{% endif %}
|
|
|
|
{% if user.enable_pop %}<span class="badge bg-secondary">pop3</span>{% endif %}
|
|
|
|
{% if user.allow_spoofing %}<span class="badge bg-info">allow-spoofing</span>{% endif %}
|
|
|
|
{% if user.allow_spoofing %}<span class="badge bg-danger">allow-spoofing</span>{% endif %}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td data-sort="{{ user.quota_bytes_used }}">{{ user.quota_bytes_used | filesizeformat }} / {{ (user.quota_bytes | filesizeformat) if user.quota_bytes else '∞' }}</td>
|
|
|
|
<td data-sort="{{ user.quota_bytes_used }}">{{ user.quota_bytes_used | filesizeformat }} / {{ (user.quota_bytes | filesizeformat) if user.quota_bytes else '∞' }}</td>
|
|
|
|
<td>{{ user.comment or '-' }}</td>
|
|
|
|
<td>{{ user.comment or '-' }}</td>
|
|
|
|