1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/admin/mailu/templates/alias/list.html

42 lines
1.3 KiB
HTML
Raw Normal View History

2016-03-19 21:37:48 +02:00
{% extends "base.html" %}
{% block title %}
2016-10-02 14:52:50 +02:00
{% trans %}Alias list{% endtrans %}
2016-03-19 21:37:48 +02:00
{% endblock %}
{% block subtitle %}
{{ domain.name }}
{% endblock %}
{% block main_action %}
2016-10-02 14:52:50 +02:00
<a class="btn btn-primary" href="{{ url_for('.alias_create', domain_name=domain.name) }}">{% trans %}Add alias{% endtrans %}</a>
2016-03-19 21:37:48 +02:00
{% endblock %}
{% block box %}
<table class="table table-bordered">
<tbody>
<tr>
2016-10-02 14:52:50 +02:00
<th>{% trans %}Actions{% endtrans %}</th>
<th>{% trans %}Email{% endtrans %}</th>
<th>{% trans %}Destination{% endtrans %}</th>
<th>{% trans %}Comment{% endtrans %}</th>
<th>{% trans %}Created{% endtrans %}</th>
<th>{% trans %}Last edit{% endtrans %}</th>
2016-03-19 21:37:48 +02:00
</tr>
{% for alias in domain.aliases %}
<tr>
<td>
2016-10-02 14:52:50 +02:00
<a href="{{ url_for('.alias_edit', alias=alias.email) }}" title="{% trans %}Edit{% endtrans %}"><i class="fa fa-pencil"></i></a>&nbsp;
<a href="{{ url_for('.alias_delete', alias=alias.email) }}" title="{% trans %}Delete{% endtrans %}"><i class="fa fa-trash"></i></a>
2016-03-19 21:37:48 +02:00
</td>
<td>{{ alias }}</td>
2016-08-11 13:52:03 +02:00
<td>{{ alias.destination|join(', ') or '-' }}</td>
2016-03-20 12:38:37 +02:00
<td>{{ alias.comment or '' }}</td>
2016-03-20 12:31:14 +02:00
<td>{{ alias.created_at }}</td>
<td>{{ alias.updated_at or '' }}</td>
2016-03-19 21:37:48 +02:00
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}