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