assignments on the base schedule are shown in the pages for the schedule, read-only. This allows managing things like breaks and misc sessions separately from the regular WG sessions. Base schedules are not allowed to be the base of other base schedules (the hierarchy can only be one level deep) to simplify the mental model and the code. Add link for creating new schedules instead of relying on copying Empty-Schedule and change the meeting creation code to no longer create the special Empty-Schedule. Instead a "base" schedule is created and a first schedule with the name and permissions of the user creating the meeting, using "base" as base. Speed up a couple of the Secretariat/AD agenda views by adding prefetches. - Legacy-Id: 18355
43 lines
1.5 KiB
HTML
43 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{% block morecss %}
|
|
ul.daylist { list-style:none; padding-left:0; }
|
|
li h2 { font-weight: 600; margin-top: 0.5em; }
|
|
li h3 { font-weight: 400; margin-top: 0.5em; }
|
|
li.even { background-color:#EDF5FF; }
|
|
li.odd { background-color:white; }
|
|
ul.roomlist {list-style:none; margin-top: 0.5em; }
|
|
li.roomlistentry { font-weight: 400; }
|
|
ul.sessionlist { list-style:none; padding-left:2em; margin-bottom:10px;}
|
|
|
|
.type-lead:after { content: " (DO NOT POST)"; color:red; }
|
|
.type-offagenda:after { content:" (not published on agenda)"; }
|
|
|
|
{% endblock %}
|
|
|
|
{% block title %}Agenda for {{meeting}} by Room{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% include "meeting/meeting_heading.html" with updated=meeting.updated selected="by-room" title_extra="by Room" %}
|
|
|
|
<ul class="daylist">
|
|
{% for day,sessions in ss_by_day.items %}
|
|
<li class="daylistentry {% cycle 'even' 'odd' %}"><h2>{{day|date:'l, j F Y'}}</h2>
|
|
{% regroup sessions by timeslot.get_functional_location as room_list %}
|
|
<ul class="roomlist">
|
|
{% for room in room_list %}
|
|
<li class="roomlistentry"><h3>{{room.grouper|default:"Location Unavailable"}}</h3>
|
|
<ul class="sessionlist">
|
|
{% for ss in room.list %}
|
|
<li class="sessionlistentry type-{{ss.timeslot.type_id}} {% if ss.schedule_id != meeting.schedule_id %}from-base-schedule{% endif %}">{{ss.timeslot.time|date:"H:i"}}-{{ss.timeslot.end_time|date:"H:i"}} {{ss.session.short_name}}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|
|
|