forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetail_history.html
More file actions
53 lines (53 loc) · 1.92 KB
/
Copy pathdetail_history.html
File metadata and controls
53 lines (53 loc) · 1.92 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
{% extends "base.html" %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}History for Liaison Statement - {{ liaison.title }}{% endblock %}
{% block content %}
<h1>
History for Liaison Statement
<br>
<small class="text-muted">{{ liaison.title }}</small>
</h1>
{% include "liaisons/detail_tabs.html" %}
{% if user|has_role:"Area Director,Secretariat,IANA,RFC Editor" %}
<p class="buttonlist">
<a class="btn btn-primary"
href="{% url "ietf.liaisons.views.add_comment" object_id=liaison.id %}"
title="Add comment to history">
Add comment
</a>
</p>
{% endif %}
<table class="table table-sm table-striped history tablesorter">
<thead>
<tr>
<th scope="col" data-sort="date">Date</th>
<th scope="col" data-sort="type">Type</th>
<th scope="col" data-sort="by">By</th>
<th scope="col" data-sort="text">Text</th>
</tr>
</thead>
{% if events %}
<tbody>
{% for e in events %}
<tr>
<td>{{ e.time|date:"Y-m-d" }}</td>
<td>
{{ e.type }}
{% if e.response_due and e.response_past_due %}
<i class="bi bi-exclamation-circle" title="Response overdue"></i>
{% endif %}
</td>
<td>{{ e.by }}</td>
<td>{{ e.desc|format_history_text }}</td>
</tr>
{% endfor %}
</tbody>
{% endif %}
</table>
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}