From 947d54b8dd1cf963eddbaca3a9dcf3a2a922b766 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 21 Sep 2011 21:10:23 +0200 Subject: [PATCH] Show blue elected line for beamer ajax view. --- openslides/agenda/templates/beamer/ItemAssignment.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openslides/agenda/templates/beamer/ItemAssignment.html b/openslides/agenda/templates/beamer/ItemAssignment.html index 48b6e9b73..41219fe7a 100644 --- a/openslides/agenda/templates/beamer/ItemAssignment.html +++ b/openslides/agenda/templates/beamer/ItemAssignment.html @@ -51,16 +51,15 @@ {% for vote in votes %} - {% with vote|first as candidate %} + {% if candidate.1 %} {% endif %} {{ candidate.0 }} - {% endwith %} {% for v in vote|last %} - {% if v %} + {% if v %} {% if v|length == 3 %} {% if v.0 %}{{ v.0 }}{% else %}∅{% endif %}
{% if v.1 %}{{ v.1 }}{% else %}∅{% endif %}
@@ -72,6 +71,7 @@ {% else %}∅{% endif %} {% endfor %} + {% endwith %} {% empty %}