mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Work still in progress. Added support for aliases creation and edition. see #102 Starting with code refactoring before modifying UI.
32 lines
898 B
HTML
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 %}
|