content_index.html 750 Bytes
Newer Older
YSelf Tool's avatar
YSelf Tool committed
1
    <div class="mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--4-col-phone mdl-card">
Robin Sonnabend's avatar
Robin Sonnabend committed
2
    {% if event.current_topic_id != -1 %}
YSelf Tool's avatar
YSelf Tool committed
3
        <div class="mdl-card__title">
Robin Sonnabend's avatar
Robin Sonnabend committed
4
            <h3 class="mdl-card__title-text">{{ event.current_topic.name }}: {{ event.current_topic.sorted_statements()[0].speaker.name }}</h3>
YSelf Tool's avatar
YSelf Tool committed
5
        </div>
Robin Sonnabend's avatar
Robin Sonnabend committed
6 7 8 9 10 11 12 13 14 15 16 17
        {% if event.get_current_topic() %}
        <table class="mdl-data-table mdl-js-table">
        {% for statement in event.get_current_topic().sorted_statements() %}
            <tr>
                <td>statement.speaker.name</td>
            </tr>
        {% endfor %}
        </table>
        {% endif %}
    {% else %}
        No topic selected
    {% endif %}
YSelf Tool's avatar
YSelf Tool committed
18
    </div>