2021-07-29 18:15:38 +02:00
|
|
|
{% extends "base.html.twig" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}Domains{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
<h2>Domains</h2>
|
|
|
|
|
|
2021-07-30 01:50:36 +02:00
|
|
|
<p>This is a list of all domains auto-generated from the existing mail accounts and aliases. As such it is read-only.</p>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<th style="min-width: 12em">Domain</th>
|
|
|
|
|
<th>Accounts</th>
|
|
|
|
|
<th>Aliases</th>
|
|
|
|
|
</tr>
|
2021-07-30 03:46:43 +02:00
|
|
|
{% if domainList %}
|
|
|
|
|
{% for domain, domainCounts in domainList -%}
|
|
|
|
|
<tr>
|
|
|
|
|
<td><a href="/accounts?domain={{ domain | escape('url') }}">{{ domain }}</a></td>
|
|
|
|
|
<td>{{ domainCounts['accounts'] }}</td>
|
|
|
|
|
<td>{{ domainCounts['aliases'] }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% else %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="100" style="text-align: center">No domains found.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
2021-07-30 01:50:36 +02:00
|
|
|
</table>
|
2021-07-29 18:15:38 +02:00
|
|
|
{% endblock %}
|