* refactor: compute draft aliases on demand n.b., very slow for full set of aliases * refactor: simplify and cache email_aliases The name != "" case is, as far as I can see, unused. * chore: remove draft alias checks * chore: remove draft alias/virtual settings * chore: remove lint * test: update tests * test: better mocking * refactor: move utility to utils * test: add tests
26 lines
872 B
HTML
26 lines
872 B
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% block title %}
|
|
Document email aliases
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>
|
|
Document email aliases
|
|
</h1>
|
|
{% regroup aliases|dictsort:"doc_name" by doc_name as alias_list %}
|
|
<table class="table table-borderless table-sm mt-3">
|
|
<tbody>
|
|
{% for alias in alias_list %}
|
|
{% cycle '' 'table-active' as alternator silent %}
|
|
{% for item in alias.list %}
|
|
<tr {% if alternator %}class="{{ alternator }}"{% endif %}>
|
|
<td>{{ alias.grouper }}{{ item.alias_type|default:'' }}@{{ ietf_domain }}</td>
|
|
<td>{{ item.expansion }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %} |