forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsessions.html
More file actions
53 lines (49 loc) · 2.14 KB
/
sessions.html
File metadata and controls
53 lines (49 loc) · 2.14 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
{% extends "meetings/base_rooms_times.html" %}
{% load django_bootstrap5 %}
{% block subsection %}
<div class="module role-container">
<h2>Sessions</h2>
<table class="table table-sm table-striped ipr-table tablesorter">
<thead>
<tr>
<th>Group</th>
<th>Time</th>
<th>Room</th>
<th>Agenda Note</th>
<th>Status</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
{% for session in sessions %}
<tr>
<td>{{ session.group.acronym }}</td>
<td>
{% if session.official_timeslotassignment %}
{{ session.official_timeslotassignment.timeslot.time|date:"l H:i"|default:"" }}
{% endif %}
</td>
<td>
{% if session.official_timeslotassignment %}
{{ session.official_timeslotassignment.timeslot.location }}
{% endif %}
</td>
<td>{{ session.agenda_note }}</td>
<td>{{ session.current_status_name }}</td>
<td><a href="{% url 'ietf.secr.meetings.views.regular_session_edit' meeting_id=meeting.number schedule_name=schedule.name session_id=session.id %}">Edit</a></td>
<td>
{% if session.can_cancel %}
<form method="post">
{% csrf_token %}
<input type="hidden" name="pk" value="{{ session.pk }}">
<input type="submit" name="cancel" value="Cancel">
</form>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div> <!-- module -->
{% endblock %}