forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactive_dirs.html
More file actions
61 lines (61 loc) · 2.46 KB
/
active_dirs.html
File metadata and controls
61 lines (61 loc) · 2.46 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static person_filters %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}Active directorates{% endblock %}
{% block content %}
{% origin %}
<h1>Active Directorates</h1>
<table class="my-3 table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="team">Team</th>
<th data-sort="name">Name</th>
<th data-sort="reviews">Reviews</th>
<th data-sort="area">Area</th>
<th data-sort="ad">AD</th>
<th data-sort="secretaries">Secretaries</th>
<th data-sort="chairs">Chairs</th>
</tr>
</thead>
<tbody>
{% for group in dirs %}
<tr>
<td>
<a href="{% url "ietf.group.views.group_home" acronym=group.acronym %}">{{ group.acronym }}</a>
</td>
<td>{{ group.name }}</td>
<td class="text-center">
{% if group.type_id == 'review' %}
<i class="bi bi-check-lg text-success"></i>
<span class="visually-hidden">yes</span>
{% endif %}
</td>
<td>
<a href="{% url "ietf.group.views.group_home" acronym=group.parent.acronym %}">{{ group.parent.acronym }}</a>
</td>
<td>
{% for ad in group.ads %}
{% person_link ad.person %}{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
<td>
{% for secretary in group.secretaries %}
{% person_link secretary.person %}{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
<td>
{% for chair in group.chairs %}
{% person_link chair.person %}{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}