forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhistory.html
More file actions
42 lines (42 loc) · 1.38 KB
/
history.html
File metadata and controls
42 lines (42 loc) · 1.38 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
{% extends "group/group_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters person_filters textfilters %}
{% load static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block group_content %}
{% origin %}
<h2 class="my-3">Group history</h2>
{% if can_add_comment %}
<a class="btn btn-primary"
href="{% url 'ietf.group.views.add_comment' acronym=group.acronym %}">
<i class="bi bi-plus"></i>
Add comment
</a>
{% endif %}
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="date">Date</th>
<th data-sort="by">By</th>
<th data-sort="action">Action</th>
</tr>
</thead>
{% if events %}
<tbody>
{% for e in events %}
<tr>
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
<td class="text-nowrap">{% person_link 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 %}