Merge pull request #3811 from normanjaeckel/ElectionBar

Fixed assignment election bar for votes mode. Fixed #3598.
This commit is contained in:
Emanuel Schütze 2018-08-23 15:42:50 +02:00 committed by GitHub
commit c852f72c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>