datatracker/ietf/templates/meeting/diff_schedules.html
Jennifer Richards 63a1baf116
fix: more small timezone-aware fixes (#4489)
* fix: use meeting timezone for agenda_by_(room|type)

* refactor: use timezone.override instead of timezone.activate/deactivate

* fix: add timezone info in create-charter-newrevisiondocevents

* fix: use meeting timezone for recording.html template

* fix: use meeting timezone for slide submission timeslot display

* fix: use meeting timezone for schedule diff template

* fix: use meeting timezone for edit_meeting_timeslots_and_misc_sessions

* fix: use meeting timezone for materials() view

* fix: use meeting timezone for proceedings() view

* refactor: force timestamps to utc in important_dates_for_meeting.ics

Has no effect now, but guarantees consistency with template's assertion
that its timestamps are in UTC.

* fix: use meeting timezone for a couple interim meeting templates

* fix: use meeting timezone for propose_session_slides template

* fix: use meeting timezone for upload_session_*.html

* fix: use meeting timezone for a couple session templates
2022-09-22 12:19:56 -03:00

49 lines
2.2 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2020, All Rights Reserved #}
{% load origin %}
{% load ietf_filters %}
{% load django_bootstrap5 tz %}
{% block title %}Differences between Meeting Agendas for IETF {{ meeting.number }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Differences between Meeting Agendas
<br>
<small class="text-muted">IETF {{ meeting.number }}</small>
</h1>
<form method="get" class="my-3">
{% bootstrap_form form layout="horizontal" %}
{% bootstrap_button "Show differences" button_type="submit" button_class="btn-primary" %}
</form>
{% if diffs != None %}
<h2 class="mt-4">
Differences from {{ from_schedule.name }} ({{ from_schedule.owner }}) to {{ to_schedule.name }} ({{ to_schedule.owner }})
</h2>
{% if diffs %}
<table class="table table-sm table-striped schedule-diffs">
<thead>
<tr>
<th scope="col"></th>
</tr>
</thead>
<tbody>{% timezone meeting.time_zone %}
{% for d in diffs %}
<tr>
<td>
{% if d.change == 'schedule' %}
Scheduled <b>{{ d.session.session_label }}</b> to <b>{{ d.to.time|date:"l G:i" }} at {{ d.to.location.name }}</b>
{% elif d.change == 'move' %}
Moved <b>{{ d.session.session_label }}</b> from {{ d.from.time|date:"l G:i" }} at {{ d.from.location.name }} to <b>{{ d.to.time|date:"l G:i" }} at {{ d.to.location.name }}</b>
{% elif d.change == 'unschedule' %}
Unscheduled <b>{{ d.session.session_label }}</b> from {{ d.from.time|date:"l G:i" }} at {{ d.from.location.name }}
{% endif %}
</td>
</tr>
{% endfor %}
{% endtimezone %}</tbody>
</table>
{% else %}
No differences in scheduled sessions found.
{% endif %}
{% endif %}
{% endblock %}