Merge pull request #2528 from emanuelschuetze/fix-assignment-detail
Fix to show election results without ng-init.
This commit is contained in:
commit
12f7f20d8c
@ -224,18 +224,21 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<translate>Valid ballots</translate>
|
<translate>Valid ballots</translate>
|
||||||
<td ng-init="vote = poll.getVote('votesvalid')">
|
<td>
|
||||||
{{ vote.value }} {{ vote.percentStr }}
|
{{ poll.getVote('votesvalid').value }}
|
||||||
|
{{ poll.getVote('votesvalid').percentStr }}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<translate>Invalid ballots</translate>
|
<translate>Invalid ballots</translate>
|
||||||
<td ng-init="vote = poll.getVote('votesinvalid')">
|
<td>
|
||||||
{{ vote.value }} {{ vote.percentStr }}
|
{{ poll.getVote('votesinvalid').value }}
|
||||||
|
{{ poll.getVote('votesinvalid').percentStr }}
|
||||||
<tr class="total bg-info">
|
<tr class="total bg-info">
|
||||||
<td>
|
<td>
|
||||||
<translate>Casted ballots</translate>
|
<translate>Casted ballots</translate>
|
||||||
<td ng-init="vote = poll.getVote('votescast')">
|
<td>
|
||||||
{{ vote.value }} {{ vote.percentStr }}
|
{{ poll.getVote('votescast').value }}
|
||||||
|
{{ poll.getVote('votescast').percentStr }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
Loading…
Reference in New Issue
Block a user