From 5e97ece5f445f79277b2e005d3f8b43f49f8d67f Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 19 Nov 2012 23:52:48 +0100 Subject: [PATCH] #278: Used cycle rowcolor in vote results table also for inavlid votes row --- openslides/assignment/templates/assignment/view.html | 5 ++--- openslides/assignment/templates/projector/Assignment.html | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/openslides/assignment/templates/assignment/view.html b/openslides/assignment/templates/assignment/view.html index 47b6d0e2b..e67d485db 100644 --- a/openslides/assignment/templates/assignment/view.html +++ b/openslides/assignment/templates/assignment/view.html @@ -145,7 +145,7 @@ {% for candidate, poll_list in vote_results.items %} - + {% if candidate in assignment.elected %} {% if perms.assignment.can_manage_assignment %} @@ -182,8 +182,7 @@ {% endif %} {% endfor %} - - + {% trans 'Invalid votes' %} {% for poll in polls %} {% if poll.published or perms.assignment.can_manage_assignment %} diff --git a/openslides/assignment/templates/projector/Assignment.html b/openslides/assignment/templates/projector/Assignment.html index 937328d0e..35c10f64b 100644 --- a/openslides/assignment/templates/projector/Assignment.html +++ b/openslides/assignment/templates/projector/Assignment.html @@ -62,7 +62,7 @@ {% for candidate, poll_list in vote_results.items %} - + {% if candidate in assignment.elected %} @@ -92,8 +92,7 @@ {% endfor %} {% endfor %} - - + {% trans 'Invalid votes' %} {% for poll in polls %} @@ -105,7 +104,6 @@ {% endfor %} - {% trans 'Votes cast' %}