mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +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.
32 lines
957 B
HTML
32 lines
957 B
HTML
{% extends "admin/domains_header.html" %}
|
|
{% load i18n admin_extras %}
|
|
{% block pagetitle %}{% trans "Mailbox aliases" %}{% endblock %}
|
|
{% block subcontent %}
|
|
<div id="objects" name="mbaliases" rel="300 260">
|
|
{% if not aliases %}
|
|
<div class="info">{% trans "No mailbox alias defined." %}</div>
|
|
{% else %}
|
|
<table id="objects_table">
|
|
<tr>
|
|
<th width="50px">{% trans "Actions" %}</th>
|
|
<th width="150px">{% trans "Address" %}</th>
|
|
<th width="200px">{% trans "Mailbox" %}</th>
|
|
<th width="75px">{% trans "Enabled" %}</th>
|
|
</tr>
|
|
{% for alias in aliases %}
|
|
<tr class="{% cycle 'odd' 'even' %}" id="{{ alias.id }}">
|
|
<td>{% mbalias_actions user alias %}
|
|
<td>{{ alias.full_address }}</td>
|
|
<td>
|
|
{% for mb in alias.mboxes.all %}
|
|
{{ mb.full_address }}<br/>
|
|
{% endfor %}
|
|
</td>
|
|
<td>{{ alias.enabled|yesno }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|