diff --git a/templates/admin_topic_show.html b/templates/admin_topic_show.html index 1dd198e38569cbd08289adb14c058f8d9853d9e0..3d7a75aeafbd060e2f1f17db7ad6ada008ff7fd0 100644 --- a/templates/admin_topic_show.html +++ b/templates/admin_topic_show.html @@ -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"> @@ -56,8 +77,9 @@ <i class="material-icons">cancel</i> </a> </td> - </tr> - {% endfor %} + </tr > + {% endif %} + {% endfor %} </tbody> </table> </div> diff --git a/templates/speech_content_index.html b/templates/speech_content_index.html index 72d8e25d3c32e9bc5711946a2d997bfcfc2bff0d..eb077fb608a22a35158ec4499a092328397accd5 100644 --- a/templates/speech_content_index.html +++ b/templates/speech_content_index.html @@ -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 %}