forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocument_email.html
More file actions
61 lines (61 loc) · 2.2 KB
/
document_email.html
File metadata and controls
61 lines (61 loc) · 2.2 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters textfilters %}
{% load static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}Email expansions for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
{% origin %}
{{ top|safe }}
{% if aliases %}
<h2 class="my-3">Email aliases</h2>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="alias">Alias</th>
<th scope="col" data-sort="expansion">Expansion</th>
</tr>
</thead>
<tbody>
{% for alias in aliases %}
<tr>
<td>
<a href="mailto:{{ doc.name }}{{ alias.alias_type|default:'' }}@{{ ietf_domain }}">
{{ doc.name }}{{ alias.alias_type|default:'' }}@{{ ietf_domain }}
</a>
</td>
<td>{{ alias.expansion }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<h2 class="my-3">Recipient expansions</h2>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="trigger">Mail trigger</th>
<th scope="col" data-sort="to">To</th>
<th scope="col" data-sort="cc">Cc</th>
</tr>
</thead>
<tbody>
{% for trigger,desc,to,cc in expansions %}
<tr>
<td>
<a href="{% url 'ietf.mailtrigger.views.show_triggers' trigger %}"
title="{{ desc }}">{{ trigger }}</a>
</td>
<td>{{ to|join:', '|linkify }}</td>
<td>{{ cc|join:', '|linkify }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}