Skip to content

Commit

Permalink
Fixes to show series view #181
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed Jan 5, 2015
1 parent 3c552e1 commit e82e86b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion talks/templates/events/event-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ <h3 class="panel-title">{{ event_group.title }}</h3>
<li class="list-group-item"><strong>Organising department</strong>: {{ event_group.api_organisation.name }}</li>
{% endif %}
{% for event in event_group.events.all %}
<li class="list-group-item"><a href="{{ event.get_absolute_url }}">{{ event.title }}</a> ({{ event.start }})</li>
<li class="list-group-item"><a href="{{ event.get_absolute_url }}">{% if event.title %}{{ event.title }}{% else %}Untitled Event{% endif %}</a> ({{ event.formatted_date }})
<br>
<strong>Speaker{{ event.speakers|pluralize }}</strong>: {% for speaker in event.speakers %}<a href="{% url 'show-person' speaker.slug %}">{{ speaker.name}}{% if speaker.bio %} ({{ speaker.bio }}){% endif %}</a>{% if not forloop.last %}, {% endif %}
{% empty %} TBA
{% endfor %}
</li>
{% endfor %}
</ul>
</div>
Expand Down

0 comments on commit e82e86b

Please sign in to comment.