Files
modoboa/templates/admin/domaliases.html
T
tonio e5e04e6991 see #103
This is almost over :
 * new informations available in misc. listings,
 * tables layout update.
2010-12-15 23:05:30 +01:00

28 lines
976 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="150px">{% trans "Name" %}</th>
<th>{% trans "Targeted domain" %}</th>
<th width="70px" class="center">{% trans "Enabled" %}</th>
<th width="70px" class="center">{% trans "Actions" %}</th>
</tr>
{% for domalias in domaliases %}
<tr class="{% cycle 'odd' 'even' %}" id="{{ domalias.id }}">
<td>{{ domalias.name }}</td>
<td>{{ domalias.target.name }}</td>
<td class="center">{{ domalias.enabled|yesno }}</td>
<td class="center">{% domalias_actions user domalias.id %}</td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
{% endblock %}