Commit 8e011d98 authored by Robin Sonnabend's avatar Robin Sonnabend

Correct order of topics at each point

parent f3151bd2
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for topic in event.topics %} {% for topic in event.sorted_topics() %}
<tr> <tr>
<td class="mdl-data-table__cell--non-numeric"><a href="{{ url_for(".topic_show", id=topic.id) }}">{{ topic.name }}</a></td> <td class="mdl-data-table__cell--non-numeric"><a href="{{ url_for(".topic_show", id=topic.id) }}">{{ topic.name }}</a></td>
<td class="mdl-data-table__cell--non-numeric">{{ topic.mode }}</td> <td class="mdl-data-table__cell--non-numeric">{{ topic.mode }}</td>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
{% endif %} {% endif %}
</h4> </h4>
</div> </div>
{% for topic in event.topics %} {% for topic in event.sorted_topics() %}
<div class="mdl-card__supporting-text {% if topic.id == event.current_topic_id %}rede-list-point-big{% endif %}"> <div class="mdl-card__supporting-text {% if topic.id == event.current_topic_id %}rede-list-point-big{% endif %}">
{{ topic.name }} {{ topic.name }}
</div> </div>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for topic in event.topics %} {% for topic in event.sorted_topics() %}
{% if topic.id == event.current_topic_id %} {% if topic.id == event.current_topic_id %}
<tr class="rede-table-bg-blue rede-table-centered"> <tr class="rede-table-bg-blue rede-table-centered">
<td colspan="2">{{ topic.name }}</td> <td colspan="2">{{ topic.name }}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment