datatracker/ietf/secr/templates/meetings/sessions.html
Ole Laursen 45ed2c5a2c Add support in the new meeting schedule editor for making a tombstone
session when rescheduling a session after the schedule is made the
official meeting schedule.

Show both cancelled and rescheduled sessions as tombstones in the new
meeting schedule editor.

Add support for showing rescheduled tombstones in the meeting agenda
views.

Adjust the Secretariat session tool so that it's not possible to
(re)cancel cancelled or rescheduled tombstones.
 - Legacy-Id: 18108
2020-06-30 16:55:24 +00:00

54 lines
1.6 KiB
HTML

{% extends "meetings/base_rooms_times.html" %}
{% load bootstrap3 %}
{% block subsection %}
<div class="module role-container">
<h2>Sessions</h2>
<table class="table table-condensed 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 %}