2022-02-10 12:16:11 +01:00
|
|
|
<div class="text-choices rounded-block" *ngIf="poll.kind == 'text'">
|
|
|
|
<div class="text-choice" *ngFor="let choice of poll.choices_grouped; index as ii">
|
|
|
|
<div class="choice-label">
|
|
|
|
{{ choice.date_string }}
|
|
|
|
</div>
|
|
|
|
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-07 13:58:23 +01:00
|
|
|
<div class="date-choices" *ngIf="poll.kind == 'date'">
|
2022-02-07 15:33:39 +01:00
|
|
|
<div class="rounded-block" *ngFor="let group of poll.choices_grouped">
|
|
|
|
<div class="date-label">
|
2022-02-07 13:58:23 +01:00
|
|
|
{{ showAsDate(group.date_string) | date: 'fullDate':'Europe/Paris' }}
|
2022-02-07 15:33:39 +01:00
|
|
|
</div>
|
|
|
|
<div class="list-of-choices">
|
2022-02-10 12:16:11 +01:00
|
|
|
<div class="date-choices">
|
|
|
|
<div class="time-slice-choice white-block" *ngFor="let choice of group.choices; index as ii">
|
|
|
|
<div class="columns is-vcentered time-span-display">
|
2022-02-07 15:33:39 +01:00
|
|
|
<div class="column">
|
2022-02-10 12:16:11 +01:00
|
|
|
<div class="choice-label">
|
|
|
|
{{ choice.name }}
|
2022-02-07 15:33:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column is-narrow">
|
2022-02-10 12:16:11 +01:00
|
|
|
<span class="max_score" *ngIf="poll.max_score > 0 && choice.score == poll.max_score">
|
|
|
|
<i class="fa fa-star fa-2x"></i>
|
|
|
|
</span>
|
2022-02-07 15:33:39 +01:00
|
|
|
</div>
|
|
|
|
<div class="column is-narrow">
|
2022-02-10 12:16:11 +01:00
|
|
|
<div class="buttons"></div>
|
2022-02-07 15:33:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-10 12:16:11 +01:00
|
|
|
<div class="choice-header" *ngIf="poll.max_score > 0"></div>
|
|
|
|
|
|
|
|
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
2022-02-07 13:58:23 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|