mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
This is almost over : * new informations available in misc. listings, * tables layout update.
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
{% extends "admin/domains_header.html" %}
|
|
{% load i18n admin_extras %}
|
|
{% block pagetitle %}{% trans "Available mailboxes" %}{% endblock %}
|
|
{% block subcontent %}
|
|
<div id="objects" name="mailboxes" rel="300 320">
|
|
{% if not mailboxes %}
|
|
<div class="info">{% trans "No mailbox defined." %}</div>
|
|
{% else %}
|
|
<table id="objects_table">
|
|
<tr>
|
|
<th>{% trans "Name" %}</th>
|
|
<th>{% trans "Address" %}</th>
|
|
<th width="150px" class="center">{% trans "Defined aliases" %}</th>
|
|
<th width="70px" class="center">{% trans "Quota" %}</th>
|
|
<th width="70px" class="center">{{ "Enabled"|gender:"f" }}</th>
|
|
<th width="70px" class="center">{% trans "Actions" %}</th>
|
|
</tr>
|
|
{% for mb in mailboxes %}
|
|
<tr class="{% cycle 'odd' 'even' %}" id="{{ mb.id }}">
|
|
<td>{{ mb.name }}</td>
|
|
<td>{{ mb.address }}@{{ mb.domain.name }}</td>
|
|
<td class="center">{{ mb.alias_set.all|length }}</td>
|
|
<td class="center">{{ mb.quota }} {% trans "MB" %}</td>
|
|
<td class="center">{{ mb.user.is_active|yesno:_("yes,no") }}</td>
|
|
<td class="center">{% mailbox_actions user mb %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|