Add speakers.

This commit is contained in:
Christopher Neugebauer 2019-09-29 12:39:15 -07:00
parent 018f3ead1a
commit 909d7d8a00

View file

@ -80,36 +80,37 @@
<h1>Featuring</h2>
<div class="speaker_ headline">
<span class="speaker-name">Jacob Kaplan-Moss</span>
<span class="speaker-description">Headline Speaker &bull; Saturday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Jessica McKellar</span>
<span class="speaker-description">Headline Speaker &bull; Sunday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Shadeed Wallace-Stepter</span>
<span class="speaker-description">Headline Speaker &bull; Sunday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Guido van Rossum</span>
<span class="speaker-description">Featured Speaker</span>
</div>
{% for i in '1234' %}
<div class="speaker_">
<span class="speaker-name">Beeper Booper</span>
<span class="speaker-description">Less Important Speaker</span>
<div class="speaker_ headline">
<span class="speaker-name">Jacob Kaplan-Moss</span>
<span class="speaker-description">Headline Speaker &bull; Saturday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Jessica McKellar</span>
<span class="speaker-description">Headline Speaker &bull; Sunday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Shadeed Wallace-Stepter</span>
<span class="speaker-description">Headline Speaker &bull; Sunday</span>
</div>
<div class="speaker_ headline">
<span class="speaker-name">Guido van Rossum</span>
<span class="speaker-description">Featured Speaker</span>
</div>
{% speakers as speakers %}
{% for speaker in speakers %}
{% for presentation in speaker.presentations.all %}
<div class="speaker_">
<span class="speaker-name">{{ speaker.conferencespeaker.name }}</span>
<span class="speaker-description">
<a href="{% url "schedule_presentation_detail" presentation.id %}">{{ presentation.title }}</a>
</span>
</div>
{% endfor %}
{%endfor%}
</ul>
</div>
</div>