From 21e6903368d70d03c650ece02f13ff5b23577ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Tue, 25 Oct 2016 10:41:51 +0200 Subject: [PATCH] Fix to show election results without ng-init. ng-init does not watch for autoupdates. --- .../templates/assignments/assignment-detail.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/openslides/assignments/static/templates/assignments/assignment-detail.html b/openslides/assignments/static/templates/assignments/assignment-detail.html index f7290f495..aec880985 100644 --- a/openslides/assignments/static/templates/assignments/assignment-detail.html +++ b/openslides/assignments/static/templates/assignments/assignment-detail.html @@ -224,18 +224,21 @@ Valid ballots - - {{ vote.value }} {{ vote.percentStr }} + + {{ poll.getVote('votesvalid').value }} + {{ poll.getVote('votesvalid').percentStr }} Invalid ballots - - {{ vote.value }} {{ vote.percentStr }} + + {{ poll.getVote('votesinvalid').value }} + {{ poll.getVote('votesinvalid').percentStr }} Casted ballots - - {{ vote.value }} {{ vote.percentStr }} + + {{ poll.getVote('votescast').value }} + {{ poll.getVote('votescast').percentStr }}