Group talks by type

This commit is contained in:
Oliver Davies 2015-12-31 10:39:35 +00:00
parent b6609a5f60
commit 2d2cb25023
5 changed files with 31 additions and 23 deletions

View file

@ -0,0 +1,6 @@
<li>
{{ talk.event.name }} -
<a href="{{ talk.url }}">
{{ talk.title }}
</a>
</li>

View file

@ -0,0 +1,5 @@
<ul>
{% for talk in talks if talk.type == type %}
{{ include('talk-list-item') }}
{% endfor %}
</ul>

View file

@ -1,6 +0,0 @@
{{ talk.event.name }} -
{% if talk.fuzzy_date %}
{{ talk.title }}
{% else %}
<a href="{{ talk.url }}">{{ talk.title }}</a>
{% endif %}