forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchartering_groups.html
More file actions
79 lines (65 loc) · 2.32 KB
/
chartering_groups.html
File metadata and controls
79 lines (65 loc) · 2.32 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{% extends "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 %}Chartering or re-chartering groups{% endblock %}
{% block content %}
{% origin %}
{% load ietf_filters %}
{% load ballot_icon %}
<h1>Chartering or re-chartering groups</h1>
<p>
Groups with a charter in one of the following states:
</p>
<ul>
{% for s in charter_states %}
<li>{{ s.name }}</li>
{% endfor %}
</ul>
{% for t in group_types %}
<h2>{{ t.name }}s</h2>
{% if t.can_manage %}
<p><a class="btn btn-default" role="button" href="{% url 'ietf.group.views.edit' group_type=t.pk action='charter' %}">Charter new {{ t.name }}</a></p>
{% endif %}
{% if not t.chartering_groups %}
<p>Found no groups in a chartering state.</p>
{% else %}
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
<th>{{ t.name }}</th>
<th>Name</th>
<th>Date</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for g in t.chartering_groups %}
<tr>
<td>
<a href="{{ g.about_url }}">{{ g.acronym }}</a>
</td>
<td>
<a href="{% url "ietf.doc.views_doc.document_main" name=g.charter.name %}">{{ g.name }}</a>
</td>
<td class="text-nowrap">{{ g.charter.time|date:"Y-m-d" }}</td>
<td>
<div class="pull-right">{% ballot_icon g.charter %}</div>
{{ g.charter.get_state.name }}
{% if g.chartering_type == "initial" %}(Initial Chartering){% endif %}
{% if g.chartering_type == "recharter" %}(Rechartering){% endif %}
{% if not g.chartering_type and g.state_id != "active" %}({{ g.state.name }}){% endif %}
{% if g.charter.telechat_date %}<br>IESG Telechat: {{ g.charter.telechat_date|date:"Y-m-d" }}{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endfor %}
{% endblock %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}