mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
* Added domain aliases delete, * Permissions are not implemented yet. see #103 * New generic create and remove buttons, * New javascript confirmation module, * Fixed a lot of problems about objects relations removal, * Simpler interface (no more dropdown menus), * Multiple removal support.
30 lines
1005 B
HTML
30 lines
1005 B
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 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' %}" id="{{ mb.id }}">
|
|
<td>{% mailbox_actions user mb %}</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 %}
|
|
</div>
|
|
{% endblock %}
|