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
24 lines (21 loc) · 911 Bytes
/
email_aliases.html
File metadata and controls
24 lines (21 loc) · 911 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% block morecss %}
td.aliasname { white-space:nowrap;}
.table-no-lines th, .table-no-lines td {border-top: none !important;}
{% endblock %}
{% 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-no-lines table-condensed">
{% for alias in alias_list %}
{% cycle '' 'active' as alternator silent %}
{% for item in alias.list %}
<tr {% if alternator %}class="{{alternator}}"{% endif %}><td class="aliasname">{{alias.grouper}}{{item.alias_type|default:''}}@{{ietf_domain}}</td><td>{{item.expansion}}</td></tr>
{% endfor %}
{% endfor %}
</table>
{% endblock %}