Files
modoboa/templates/admin/mailboxes.html
T
tonio 66f08caea9 see #97
Work still in progress. Added support for aliases creation and edition.

see #102

Starting with code refactoring before modifying UI.
2010-12-02 16:25:15 +01:00

32 lines
898 B
HTML

{% extends "admin/domain_header.html" %}
{% load i18n %}
{% block menu %}
{% load admin_extras %}
{% domain_menu domain.id "mailboxes" user %}
{% endblock %}
{% block domcontent %}
{% load i18n %}
{% if not mailboxes %}
<p>{% trans "No mailbox defined." %}</p>
{% else %}
<table>
<tr>
<th width="80px">{% trans "Actions" %}</th>
<th width="130px">{% trans "Name" %}</th>
<th width="170px">{% trans "Address" %}</th>
<th width="60px">{% trans "Quota" %}</th>
<th width="50px">{{ "Enabled"|gender:"f" }}</th>
</tr>
{% for mb in mailboxes %}
<tr class="{% cycle 'odd' 'even' %}">
<td>{% mailbox_actions user domain.id mb.id %}</td>
<td>{{ mb.name }}</td>
<td>{{ mb.address }}@{{ mb.domain.name }}</td>
<td>{{ mb.quota }} {% trans "MB" %}</td>
<td>{{ mb.user.is_active|yesno:_("yes,no") }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endblock %}