Files
modoboa/templates/admin/domains.html
T
tonio 9d95107bbd see #97
* 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.
2010-12-13 23:45:37 +01:00

38 lines
1.2 KiB
HTML

{% extends "admin/domains_header.html" %}
{% load i18n admin_extras libextras %}
{% block html_head %}
{{ block.super }}
<script type="text/javascript">
window.addEvent('domready', function() {
{% url admin.views.mailboxes as view_url %}
bindRows("{{ view_url }}", "{{ current_page }}");
});
</script>
{% endblock %}
{% block middletitle %}{% trans "Available domains" %}{% endblock %}
{% block subcontent %}
<div id="objects" name="domains" rel="300 190">
{% if not domains %}<div class="info">{% trans "No domain defined." %}</div>
{% else %}
<table id="objects_table">
<tr>
<th width="70px" class="center">{% trans "Actions" %}</th>
<th>{% trans "Name" %}</th>
<th width="150px">{% trans "Mailboxes" %}</th>
<th width="50px">{% trans "Quota" %}</th>
<th width="50px">{% trans "Enabled" %}</th>
</tr>
{% for dom in domains %}
<tr class="{% cycle 'odd' 'even' %}" id="{{ dom.id }}">
<td class="center">{% domain_actions user dom.id %}</td>
<td>{{ dom.name }}</td>
<td>{{ dom.mboxcounter }}</td>
<td>{{ dom.quota }} {% trans "MB" %}</td>
<td>{{ dom.enabled|yesno:_("yes,no") }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
{% endblock %}