forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbofs.html
More file actions
48 lines (48 loc) · 1.53 KB
/
bofs.html
File metadata and controls
48 lines (48 loc) · 1.53 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 static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}BOFs{% endblock %}
{% block content %}
{% origin %}
{% load ietf_filters %}
<h1>Birds-of-a-feather (BOF) groups</h1>
{% if user|has_role:"Area Director,Secretariat" %}
<a class="btn btn-primary"
role="button"
href="{% url 'ietf.group.views.edit' group_type='wg' action='create' %}">
Create new BOF
</a>
{% endif %}
{% if not groups %}
<p class="alert alert-info my-3">
No BOFs found.
</p>
{% else %}
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="bof">BOF</th>
<th data-sort="name">Name</th>
<th data-sort="date">Date</th>
</tr>
</thead>
<tbody>
{% for g in groups %}
<tr>
<td>
<a href="{{ g.about_url }}">{{ g.acronym }}</a>
</td>
<td>{{ g.name }}</td>
<td>{{ g.time|date:"Y-m-d" }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}