47 lines
2.1 KiB
HTML
47 lines
2.1 KiB
HTML
{# bs5ok #}
|
|
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2020, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load ietf_filters %}
|
|
{% load django_bootstrap5 %}
|
|
{% 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>
|
|
</thead>
|
|
<tbody>
|
|
{% 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 %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
No differences in scheduled sessions found.
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %} |