mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-16 10:59:53 +02:00
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Alias list{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
{{ domain.name }}
|
|
{% endblock %}
|
|
|
|
{% block main_action %}
|
|
<a class="btn btn-primary" href="{{ url_for('.alias_create', domain_name=domain.name) }}">{% trans %}Add alias{% endtrans %}</a>
|
|
{% endblock %}
|
|
|
|
{% block box %}
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
{% for alias in domain.aliases %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url_for('.alias_edit', alias=alias.email) }}" title="{% trans %}Edit{% endtrans %}"><i class="fa fa-pencil"></i></a>
|
|
<a href="{{ url_for('.alias_delete', alias=alias.email) }}" title="{% trans %}Delete{% endtrans %}"><i class="fa fa-trash"></i></a>
|
|
</td>
|
|
<td>{{ alias }}</td>
|
|
<td>{{ alias.destination|join(', ') or '-' }}</td>
|
|
<td>{{ alias.comment or '' }}</td>
|
|
<td>{{ alias.created_at }}</td>
|
|
<td>{{ alias.updated_at or '' }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|