forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatus_changes.html
More file actions
48 lines (40 loc) · 1.29 KB
/
status_changes.html
File metadata and controls
48 lines (40 loc) · 1.29 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}RFC status changes{% endblock %}
{% block content %}
{% origin %}
<h1>RFC status changes</h1>
{% if user|has_role:"Area Director,Secretariat" %}
<p><a class="btn btn-default" href="{% url 'ietf.doc.views_status_change.start_rfc_status_change' %}">New RFC status change</a></p>
{% endif %}
{% regroup docs by get_state as state_groups %}
<table class="table table-striped table-condensed tablesorter">
<thead>
<tr>
<th>Document</th>
<th>Title</th>
</tr>
</thead>
{% for state in state_groups %}
<tbody>
<tr class="info"><th colspan="2">{{state.grouper}}</th></tr>
</tbody>
<tbody>
{% for doc in state.list %}
<tr>
<td>{{ doc.displayname_with_link|safe }}</td>
<td><b>{{ doc.title }}</b></td>
</tr>
{% endfor %}
</tbody>
{% endfor %}
</table>
{% endblock content %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}