From dc1c5d46ec7cfba5e9af88689cf6f19a98e8b30f Mon Sep 17 00:00:00 2001 From: Sarah Conway Schnurr Date: Sat, 17 Aug 2019 10:59:31 -0700 Subject: [PATCH] what's this do --- templates/confreg/schedule.html | 6 +-- templates/confreg/schedule_listing.html | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 templates/confreg/schedule_listing.html diff --git a/templates/confreg/schedule.html b/templates/confreg/schedule.html index 11b47e0..55622b8 100644 --- a/templates/confreg/schedule.html +++ b/templates/confreg/schedule.html @@ -121,11 +121,7 @@ Speaker.name: {{speaker.name}} {%if session.cross_schedule%} {%for i in [('1'),('2'),('3')] %}
- {%if session.cross_schedule.id%} - {{session.timeslot}}
{{session.title}}
- {%else%} - {{session.timeslot}} - {{session.title}} - {%endif%} + {{session.timeslot}}
{{session.title}}
{%for speaker in session.speakers %}{%if loop.first%}{%else%}, {%endif%}{{speaker.name}}{%endfor%} {%endfor%} {%else%} diff --git a/templates/confreg/schedule_listing.html b/templates/confreg/schedule_listing.html new file mode 100644 index 0000000..48be447 --- /dev/null +++ b/templates/confreg/schedule_listing.html @@ -0,0 +1,50 @@ +{%extends "base.html" %} +{%block title%}Conference Schedule - {{conference}}{%endblock%} +{%block content%} + +{% for day in days %} +
+
+
+ +

{{day.day|datetimeformat("%A, %B %d")}}

+ {%for room in day.rooms|sort(attribute='leftpos')%} +
+
+

{{room.name}}

+ {%for session in day.sessions%} + {%if session.leftpos == room.leftpos or session.widthpos == 1198 %} + {%if session.cross_schedule%} + {%for i in [('1'),('2'),('3')] %} +
+ {%if session.id%} + {{session.timeslot}}
{{session.title}}
+ {%else%} + {{session.timeslot}} - {{session.title}} + {%endif%} + {%for speaker in session.speakers %}{%if loop.first%}{%else%}, {%endif%}{{speaker.name}}{%endfor%} + {%endfor%} + {%else%} +
+ {%if session.id%} + {{session.timeslot}}
{{session.title}}
+ {%else%} + {{session.timeslot}} - {{session.title}} + {%endif%} + {%for speaker in session.speakers %}{%if loop.first%}{%else%}, {%endif%}{{speaker.name}}{%endfor%} + {%endif%} + {%endif%} + {%endfor%} + +
+
+ {%endfor%} +
+
+
+{%endfor%} + + + + +{%endblock%} -- 2.39.5