forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmission_email.html
More file actions
60 lines (48 loc) · 1.83 KB
/
submission_email.html
File metadata and controls
60 lines (48 loc) · 1.83 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
{% extends "submit/submit_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}Submission email{% endblock %}
{% load ietf_filters %}
{% block submit_content %}
{% origin %}
<h2 class="anchor-target" id="approvals">Email for {{ submission.name }}</h2>
<table id="email-details" class="emails table table-condensed table-striped tablesorter">
<tr>
<th>Uploaded</th>
<td>{{ message.time }}</td>
</tr>
<tr>
<th>Date</th>
<td>{{ message.message.time }}</td>
</tr>
<tr>
<th>From</th>
<td>{{ message.message.frm }}</td>
</tr>
<tr>
<th>Subject</th>
<td>{{ message.message.subject }}</td>
</tr>
<tr>
<th>Message</th>
<td>{{ message.message.body|linebreaksbr }}</td>
</tr>
{% for a in attachments %}
<tr>
<th>Attachment</th>
<td><a id="attach{{ submission.pk }}" href="{% url "ietf.submit.views.show_submission_email_attachment" submission_id=submission.pk message_id=message.pk filename=a.filename %}">{{ a.filename }}</a></td>
</tr>
{% endfor %}
{% if user|has_role:"Secretariat" %}
<tr>
<td><a id="reply{{ submission.pk }}" class="btn btn-default" href="{% url "ietf.submit.views.send_submission_email" submission_id=submission.pk message_id=message.pk %}" title="Reply"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> Reply</a></td>
</tr>
{% endif %}
</table>
{% endblock %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}