2020-01-16 16:25:40 +01:00
|
|
|
<h2 >Résumé</h2 >
|
|
|
|
<div class="preferred" >
|
|
|
|
<i class='fa fa-star' ></i >
|
|
|
|
Pour l'instant, le choix ayant reçu le plus grand nombre de votes est :
|
|
|
|
<span class='preferred-result' >
|
|
|
|
{{preferred}}
|
|
|
|
</span >
|
|
|
|
</div >
|
2020-01-29 17:30:39 +01:00
|
|
|
<table >
|
|
|
|
<thead >
|
|
|
|
<tr >
|
|
|
|
<td >
|
|
|
|
Pseudo
|
|
|
|
</td >
|
|
|
|
<td *ngFor='let choice of config.currentPoll.choices' >
|
|
|
|
<!-- {{choice.id}})-->
|
|
|
|
{{choice.text}}
|
|
|
|
</td >
|
|
|
|
</tr >
|
|
|
|
</thead >
|
|
|
|
<tbody >
|
|
|
|
<tr
|
|
|
|
class='votes-of-the-person'
|
|
|
|
*ngFor='let voteStack of pollconfig.stacks'
|
|
|
|
>
|
|
|
|
<td >
|
2020-01-16 16:25:40 +01:00
|
|
|
{{voteStack.pseudo}}
|
2020-01-29 17:30:39 +01:00
|
|
|
</td >
|
|
|
|
<td *ngFor='let v of getKeys(voteStack.votes)' >
|
|
|
|
<!-- {{voteStack.votes[v].choice_id}}-->
|
|
|
|
<span *ngIf='voteStack.votes[v].value' >
|
|
|
|
|
|
|
|
{{voteStack.votes[v].value}}
|
|
|
|
</span >
|
|
|
|
</td >
|
|
|
|
</tr >
|
|
|
|
</tbody >
|
|
|
|
</table >
|