From 6928922efe3756378adc17f39e052b40db612e61 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Sun, 8 Nov 2015 13:52:06 +0100 Subject: [PATCH] Meta auch in Benutzeransicht rot --- templates/admin_topic_show.html | 8 ++++---- templates/speech_content_index.html | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/admin_topic_show.html b/templates/admin_topic_show.html index bdbd540..429c7e0 100644 --- a/templates/admin_topic_show.html +++ b/templates/admin_topic_show.html @@ -21,11 +21,11 @@ </thead> <tbody> {% for statement in topic.sorted_statements() %} - {% if statement.is_meta %} + {% if statement.is_meta %} <tr class="rede-table-bg-red"> - {% else %} - <tr> - {% endif %} + {% 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"> diff --git a/templates/speech_content_index.html b/templates/speech_content_index.html index 549332d..539fc33 100644 --- a/templates/speech_content_index.html +++ b/templates/speech_content_index.html @@ -20,7 +20,11 @@ </thead> <tbody> {% for statement in event.get_current_topic().sorted_statements() %} + {% if statement.is_meta %} + <tr class="rede-table-bg-red"> + {% 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> </tr> -- GitLab