mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Work in progress: * New domains admin page, all menus are now at the same level, * Views, models and forms partial refactoring (better code organization).
28 lines
868 B
HTML
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 %}
|