Added text to empty assignment poll result slide (Fixed #2421)

This commit is contained in:
Emanuel Schütze 2017-01-14 10:21:19 +01:00
parent d22dff2743
commit 113aac59b3

View File

@ -24,7 +24,12 @@
</div> </div>
<!-- vote results --> <!-- vote results -->
<div ng-show="showResult" class="electionresults spacer" ng-repeat="poll in assignment.polls | filter: {id: element.poll}"> <div ng-show="showResult">
<div ng-if="(assignment.polls | filter: {id: element.poll}).length == 0" translate>
Waiting for results ...
</div>
<div ng-repeat="poll in assignment.polls | filter: {id: element.poll}" class="electionresults spacer">
<table class="table table-bordered table-striped minimumTable"> <table class="table table-bordered table-striped minimumTable">
<tr> <tr>
<th translate>Candidates <th translate>Candidates
@ -89,4 +94,6 @@
{{ vote.value }} {{ vote.percentStr }} {{ vote.value }} {{ vote.percentStr }}
</table> </table>
</div> </div>
</div>
</div> </div>