datatracker/ietf/templates/doc/status_change/status_changes.html
2020-06-27 13:51:19 +00:00

48 lines
1.3 KiB
HTML

{% 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 %}