You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
867 B
HTML
33 lines
867 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 content %}
|
|
{% call macros.table() %}
|
|
<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 %}
|
|
{% endcall %}
|
|
{% endblock %}
|