Commit cecda623 authored by Robin Sonnabend's avatar Robin Sonnabend

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

parents 20024252 95245d8c
...@@ -34,10 +34,31 @@ ...@@ -34,10 +34,31 @@
<tbody> <tbody>
{% for statement in topic.sorted_statements() %} {% for statement in topic.sorted_statements() %}
{% if statement.is_meta %} {% 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 %} {% else %}
<tr> <tr>
{% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td> <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">{{ statement.speaker.count(statement.topic) }}</td>
<td class="mdl-data-table__cell--non-numeric"> <td class="mdl-data-table__cell--non-numeric">
...@@ -56,8 +77,9 @@ ...@@ -56,8 +77,9 @@
<i class="material-icons">cancel</i> <i class="material-icons">cancel</i>
</a> </a>
</td> </td>
</tr> </tr >
{% endfor %} {% endif %}
{% endfor %}
</tbody> </tbody>
</table> </table>
</div> </div>
......
...@@ -25,12 +25,19 @@ ...@@ -25,12 +25,19 @@
</tr> </tr>
{% for statement in event.get_current_topic().sorted_statements() %} {% for statement in event.get_current_topic().sorted_statements() %}
{% if statement.is_meta %} {% if statement.is_meta %}
<tr class="rede-table-bg-red"> <tr class="mdl-color--red mdl-color-text--white">
{% else %} {% else %}
<tr> <tr>
{% endif %} {% endif %}
<td class="mdl-data-table__cell--non-numeric">{{ statement.speaker.identifier() }}</td> <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> </tr>
{% endfor %} {% endfor %}
{% else %} {% else %}
......
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