content_index.html 1.09 KB
Newer Older
1 2 3 4 5 6 7
    {% for (statement, speaker, count), event in meta %}
    <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">
        <div class="mdl-card__title">
            <h3 class="mdl-card__title-text">{{ event.name }}: {{ speaker.name }}</h3>
        </div>
        <div class="mdl-card__actions">
            {% if current_user.is_authenticated() and "user" in current_user.roles %}
8
            <a href="{{ url_for("speech.index", event=event.id) }}">
9 10 11 12 13
                <button type="button" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
                    <i class="material-icons" role="presentation">build</i>
                </button>
            </a>
            {% endif %}
14
            <a href="{{ url_for("speech.show", event=event.id) }}">
15 16 17 18 19 20 21
                <button type="button" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
                    <i class="material-icons" role="presentation">list</i>
                </button>
            </a>
        </div>
    </div>
    {% endfor %}