Files
modoboa/templates/admin/domaliases.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

28 lines
930 B
HTML

{% extends "admin/domains_header.html" %}
{% load i18n admin_extras libextras %}
{% block pagetitle %}{% trans "Domain aliases" %}{% endblock %}
{% block subcontent %}
<div id="objects" name="domaliases" rel="300 190">
{% if not domaliases %}
<div class="info">{% trans "No domain alias defined." %}</div>
{% else %}
<table id="objects_table">
<tr>
<th width="50px">{% trans "Actions" %}</th>
<th width="150px">{% trans "Name" %}</th>
<th width="200px">{% trans "Targeted domain" %}</th>
<th width="75px">{% trans "Enabled" %}</th>
</tr>
{% for domalias in domaliases %}
<tr class="{% cycle 'odd' 'even' %}" id="{{ domalias.id }}">
<td>{% domalias_actions user domalias.id %}</td>
<td>{{ domalias.name }}</td>
<td>{{ domalias.target.name }}</td>
<td>{{ domalias.enabled|yesno }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
{% endblock %}