mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-16 10:59:53 +02:00
35 lines
946 B
HTML
35 lines
946 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Alternative domain list{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
{{ domain.name }}
|
|
{% endblock %}
|
|
|
|
{% block main_action %}
|
|
<a class="btn btn-primary" href="{{ url_for('.alternative_create', domain_name=domain.name) }}">{% trans %}Add alternative{% endtrans %}</a>
|
|
{% endblock %}
|
|
|
|
{% block box %}
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>{% trans %}Actions{% endtrans %}</th>
|
|
<th>{% trans %}Name{% endtrans %}</th>
|
|
<th>{% trans %}Created{% endtrans %}</th>
|
|
</tr>
|
|
{% for alternative in domain.alternatives %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url_for('.alternative_delete', alternative=alternative.name) }}" title="{% trans %}Delete{% endtrans %}"><i class="fa fa-trash"></i></a>
|
|
</td>
|
|
<td>{{ alternative }}</td>
|
|
<td>{{ alternative.created_at }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|