Accommodate possibility of multiple lecturers
This commit is contained in:
parent
a702921dc6
commit
a859d2a007
46
index.html
46
index.html
|
@ -34,7 +34,11 @@
|
||||||
<tr class="past_event">
|
<tr class="past_event">
|
||||||
<td>{{startTime.format('HH:mm')}}</td>
|
<td>{{startTime.format('HH:mm')}}</td>
|
||||||
<td>{{title}}</td>
|
<td>{{title}}</td>
|
||||||
<td>{{speaker.name}}</td>
|
<td>
|
||||||
|
{{#speakers}}
|
||||||
|
{{name}}
|
||||||
|
{{/speakers}}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/pastEvents}}
|
{{/pastEvents}}
|
||||||
|
|
||||||
|
@ -42,7 +46,11 @@
|
||||||
<tr class="next_event">
|
<tr class="next_event">
|
||||||
<td>{{startTime.format('HH:mm')}}</td>
|
<td>{{startTime.format('HH:mm')}}</td>
|
||||||
<td>{{title}}</td>
|
<td>{{title}}</td>
|
||||||
<td>{{speaker.name}}</td>
|
<td>
|
||||||
|
{{#speakers}}
|
||||||
|
{{name}}
|
||||||
|
{{/speakers}}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/nextEvent}}
|
{{/nextEvent}}
|
||||||
|
|
||||||
|
@ -50,7 +58,11 @@
|
||||||
<tr class="future_event">
|
<tr class="future_event">
|
||||||
<td>{{startTime.format('HH:mm')}}</td>
|
<td>{{startTime.format('HH:mm')}}</td>
|
||||||
<td>{{title}}</td>
|
<td>{{title}}</td>
|
||||||
<td>{{speaker.name}}</td>
|
<td>
|
||||||
|
{{#speakers}}
|
||||||
|
{{name}}
|
||||||
|
{{/speakers}}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/futureEvents}}
|
{{/futureEvents}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -66,11 +78,11 @@
|
||||||
</section>
|
</section>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="current_speaker_template" type="text/ractive">
|
<script id="speaker_template" type="text/ractive">
|
||||||
<section id="current_speaker">
|
<section>
|
||||||
<h3>Лектор</h3>
|
<h3>Лектор</h3>
|
||||||
<h1>{{currentEvent.speaker.name}}</h1>
|
<h1>{{name}}</h1>
|
||||||
<p>{{currentEvent.speaker.description}}</p>
|
<p>{{description}}</p>
|
||||||
</section>
|
</section>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -83,14 +95,6 @@
|
||||||
</section>
|
</section>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="next_speaker_template" type="text/ractive">
|
|
||||||
<section id="next_speaker">
|
|
||||||
<h3>Лектор</h3>
|
|
||||||
<h1>{{nextEvent.speaker.name}}</h1>
|
|
||||||
<p>{{nextEvent.speaker.description}}</p>
|
|
||||||
</section>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script id="slides_template" type="text/ractive">
|
<script id="slides_template" type="text/ractive">
|
||||||
<section data-state="update-safe">
|
<section data-state="update-safe">
|
||||||
<img src="logo.png">
|
<img src="logo.png">
|
||||||
|
@ -104,17 +108,17 @@
|
||||||
{{> current_talk_template}}
|
{{> current_talk_template}}
|
||||||
{{/currentEvent}}
|
{{/currentEvent}}
|
||||||
|
|
||||||
{{#currentEvent.speaker}}
|
{{#currentEvent.speakers}}
|
||||||
{{> current_speaker_template}}
|
{{> speaker_template}}
|
||||||
{{/currentEvent.speaker}}
|
{{/currentEvent.speakers}}
|
||||||
|
|
||||||
{{#nextEvent}}
|
{{#nextEvent}}
|
||||||
{{> next_talk_template}}
|
{{> next_talk_template}}
|
||||||
{{/nextEvent}}
|
{{/nextEvent}}
|
||||||
|
|
||||||
{{#nextEvent.speaker}}
|
{{#nextEvent.speakers}}
|
||||||
{{> next_speaker_template}}
|
{{> speaker_template}}
|
||||||
{{/nextEvent.speaker}}
|
{{/nextEvent.speakers}}
|
||||||
</section>
|
</section>
|
||||||
{{/eventCount}}
|
{{/eventCount}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue