forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpast.html
More file actions
63 lines (63 loc) · 2.72 KB
/
past.html
File metadata and controls
63 lines (63 loc) · 2.72 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}Past Meetings{% endblock %}
{% block content %}
{% origin %}
<h1>Past Meetings</h1>
{% if meetings %}
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="date">Date</th>
<th data-sort="group">Group</th>
<th data-sort="name">Name</th>
<th></th>
</tr>
</thead>
<tbody>
{% for meeting in meetings %}
<tr>
<td>{{ meeting.date }}</td>
<td>
{% if meeting.responsible_group.type_id != 'ietf' %}
<a href="{% url 'ietf.group.views.group_home' meeting.responsible_group.acronym %}">
{{ meeting.responsible_group.acronym }}
</a>
{% else %}
{{ meeting.responsible_group.acronym }}
{% endif %}
</td>
<td>
{% if meeting.type_id == "interim" %}
<a href="{% url 'ietf.meeting.views.session_details' num=meeting.number acronym=meeting.responsible_group.acronym %}">
{{ meeting.number }}
{% if meeting.interim_meeting_cancelled %}<span class="badge bg-warning">Cancelled</span>{% endif %}
</a>
{% else %}
<a href="{% url 'ietf.meeting.views.agenda' num=meeting.number %}">IETF-{{ meeting.number }}</a>
{% endif %}
</td>
<td>
{% if meeting.type_id == "interim" %}
{% else %}
{% if meeting.get_number > 97 %}
<a href="{% url 'ietf.meeting.views.important_dates' num=meeting.number %}">Important dates</a>
{% endif %}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<h2>No past meetings</h2>
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}