Files
modoboa/templates/admin/mailboxes.html
T
tonio 308702ec10 see #103
Work in progress:
 * New domains admin page, all menus are now at the same level,
 * Views, models and forms partial refactoring (better code organization).
2010-12-07 23:44:28 +01:00

28 lines
868 B
HTML

{% extends "admin/domains_header.html" %}
{% load i18n admin_extras %}
{% block pagetitle %}{% trans "Available mailboxes" %}{% endblock %}
{% block subcontent %}
{% if not mailboxes %}
<div class="info">{% trans "No mailbox defined." %}</div>
{% 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 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 %}
{% endblock %}