|
|
|
@ -1,15 +1,17 @@
|
|
|
|
|
<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="text-choice" *ngFor="let choice_groupe of poll.choices_grouped; index as ii">
|
|
|
|
|
<div class="choice-label">
|
|
|
|
|
{{ choice.date_string }}
|
|
|
|
|
{{ choice_groupe.date_string }}
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngFor="let choice of choice_groupe.choices">
|
|
|
|
|
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
|
|
|
|
</div>
|
|
|
|
|
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="date-choices" *ngIf="poll.kind == 'date'">
|
|
|
|
|
<div class="rounded-block" *ngFor="let group of poll.choices_grouped">
|
|
|
|
|
<div class="date-label">
|
|
|
|
|
{{ showAsDate(group.date_string) | date: 'fullDate':'Europe/Paris' }}
|
|
|
|
|
{{ showAsDate(group.date_string) | date : 'fullDate' : 'Europe/Paris' }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="list-of-choices">
|
|
|
|
|
<div class="date-choices">
|
|
|
|
|