Fixed assignment election bar for votes mode. Fixed #3598.

This commit is contained in:
Norman Jäckel 2018-08-23 11:12:57 +02:00
parent 123b7c702b
commit cbd970ba9d

View File

@ -59,6 +59,9 @@
<div ng-show="poll.pollmethod == 'votes'"> <div ng-show="poll.pollmethod == 'votes'">
<div ng-repeat="vote in votes"> <div ng-repeat="vote in votes">
{{ vote.value | number:votesPrecision }} {{ vote.percentStr }} {{ vote.value | number:votesPrecision }} {{ vote.percentStr }}
<div style="float:right; width:200px;" ng-if="vote.percentNumber >= 0">
<uib-progressbar value="vote.percentNumber" type="success"></uib-progressbar>
</div>
</div> </div>
</div> </div>
</div> </div>