forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail_aliases.html
More file actions
28 lines (28 loc) · 968 Bytes
/
Copy pathemail_aliases.html
File metadata and controls
28 lines (28 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% block title %}
Document email aliases
{% if doc %}for {{ doc.name }}{% endif %}
{% endblock %}
{% block content %}
{% origin %}
<h1>
Document email aliases
{% if doc %}for {{ doc.name }}{% endif %}
</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 %}