54 lines
2.2 KiB
HTML
54 lines
2.2 KiB
HTML
{% 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 scope="col">Group</th>
|
|
<th scope="col">Time</th>
|
|
<th scope="col">Room</th>
|
|
<th scope="col">Agenda Note</th>
|
|
<th scope="col">Status</th>
|
|
<th scope="col"></th>
|
|
<th scope="col"></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 }}">
|
|
<button type="submit" name="cancel">Cancel</button>
|
|
</form>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div> <!-- module -->
|
|
|
|
{% endblock %}
|