Skip to content
Snippets Groups Projects
Commit cecda623 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:redl/redeleitsystem

parents 20024252 95245d8c
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,31 @@
<tbody>
{% for statement in topic.sorted_statements() %}
{% if statement.is_meta %}
<tr class="rede-table-bg-red">
<tr class="mdl-color--red mdl-color-text--white">
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for(".statement_done", id=statement.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">done</i>
</a>
</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for(".speaker_edit", id=statement.speaker.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">edit</i>
</a>
</td>
<td class="mdl-data-table__cell--non-numeric">
<a href="{{ url_for('.statement_delete', id=statement.id, topic_id=topic.id) }}">
<i class="material-icons" style="color:white;">cancel</i>
</a>
</td>
</tr>
{% else %}
<tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric">
......@@ -57,6 +78,7 @@
</a>
</td>
</tr >
{% endif %}
{% endfor %}
</tbody>
</table>
......
......@@ -25,12 +25,19 @@
</tr>
{% for statement in event.get_current_topic().sorted_statements() %}
{% if statement.is_meta %}
<tr class="rede-table-bg-red">
<tr class="mdl-color--red mdl-color-text--white">
{% else %}
<tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td>
<td class="mdl-data-table__cell">{{ statement.speaker.count(event.get_current_topic()) }}</td>
<td class="mdl-data-table__cell">
{% if statement.is_meta %}
META
{% else %}
{{ statement.speaker.count(event.get_current_topic()) }}
{% endif %}
</td>
</tr>
{% endfor %}
{% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment