Skip to content

Commit 27978c8

Browse files
committed
fixes
1 parent aacc4da commit 27978c8

File tree

1 file changed

+2
-69
lines changed

1 file changed

+2
-69
lines changed

template/confreg/schedule.html

Lines changed: 2 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -59,46 +59,20 @@ <h2>Schedule - {{conference}}</h2>
5959
<p>A list of the sessions can be found <a href="/events/sessions/{{conference.urlname}}/">here</a>.
6060
</p>
6161
</section>
62-
<!-- Secondary Header
63-
{%for day in days%}
64-
<section class="section">
65-
<hr>
66-
<h2>{{day.day|date:"l, F d"}}</h2>
67-
<div class="schedwrap" style="height: {{day.schedule_height}}px; width: {{day.schedule_width}}px;">
68-
{%for room in day.rooms%}
69-
<div class="sessblock roomheader" style="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px;">
70-
{{room.name}}
71-
</div>
72-
{%endfor%}
73-
{%for session in day.sessions%}
74-
<div class="sessblock track{{session.track.id}}">-->
75-
<!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
76-
<!--{%if session.id%}
77-
<a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b></a>
78-
{%else%}
79-
{{session.timeslot}} - <b>{{session.title}}</b>
80-
{%endif%}
81-
{%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
82-
</div>
83-
{%endfor%}
84-
</div>
85-
<br>
86-
</section>
87-
{%endfor%}
88-
-->
8962
{%for day in days%}
9063
<section class="section">
9164
<div class="container">
9265
<h2>{{day.day|date:"l, F d"}}</h2>
9366
<div class="row">
67+
{%for room in day.rooms%}
9468
<div class="4u 12u$(medium)">
9569
<section class="box">
96-
{%for room in day.rooms%}
9770
<h4><div class="sessblock roomheader">
9871
{{room.name}}
9972
</div></h4>
10073
<br>
10174
{%for session in day.sessions%}
75+
{%if session.leftpos == room.leftpos%}
10276
<div class="sessblock track{{session.track.id}}">
10377
<!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
10478
{%if session.id%}
@@ -108,52 +82,11 @@ <h4><div class="sessblock roomheader">
10882
{%endif%}
10983
{%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
11084
</div>
111-
{%endfor%}
112-
{%endfor%}
113-
</section>
114-
</div>
115-
<div class="4u 12u$(medium)">
116-
<section class="box">
117-
{%for room in day.rooms%}
118-
<div class="sessblock roomheader" style="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px;">
119-
{{room.name}}
120-
</div>
121-
{%endfor%}
122-
<br>
123-
{%for session in day.sessions%}
124-
<div class="sessblock track{{session.track.id}}">
125-
<!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
126-
{%if session.id%}
127-
<a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b></a>
128-
{%else%}
129-
{{session.timeslot}} - <b>{{session.title}}</b>
13085
{%endif%}
131-
{%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
132-
</div>
13386
{%endfor%}
13487
</section>
13588
</div>
136-
<div class="4u 12u$(medium)">
137-
<section class="box">
138-
{%for room in day.rooms%}
139-
<div class="sessblock roomheader" style="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px;">
140-
{{room.name}}
141-
</div>
14289
{%endfor%}
143-
<br>
144-
{%for session in day.sessions%}
145-
<div class="sessblock track{{session.track.id}}">
146-
<!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
147-
{%if session.id%}
148-
<a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b></a>
149-
{%else%}
150-
{{session.timeslot}} - <b>{{session.title}}</b>
151-
{%endif%}
152-
{%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
153-
</div>
154-
{%endfor%}
155-
</section>
156-
</div>
15790
</div>
15891
</div>
15992
</section>

0 commit comments

Comments
 (0)