2022-02-07 11:42:25 +01:00
|
|
|
<app-stepper [step_current]="4" [step_max]="pollService.step_max"></app-stepper>
|
|
|
|
<div class="step">
|
|
|
|
<h3 class="title is-3">
|
|
|
|
{{ 'participation.voting_title' | translate }}
|
|
|
|
</h3>
|
|
|
|
<div class="date-choices" *ngIf="pollService.poll.kind == 'date'">
|
|
|
|
<div class="box" *ngFor="let group of poll.choices_grouped"></div>
|
|
|
|
</div>
|
2022-02-07 13:58:23 +01:00
|
|
|
<div class="rounded-block">
|
|
|
|
<div class="time-slice-choice" *ngFor="let choice of group.choices">
|
|
|
|
<h4 class="title is-4 choice-label">
|
|
|
|
{{ choice.name }}
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<app-choice-button
|
|
|
|
[poll]="poll"
|
|
|
|
[choice]="choice"
|
|
|
|
[answerKind]="'YES'"
|
|
|
|
*ngIf="poll.allowed_answers.indexOf('yes') !== -1"
|
|
|
|
></app-choice-button>
|
|
|
|
<app-choice-button
|
|
|
|
[poll]="poll"
|
|
|
|
[choice]="choice"
|
|
|
|
[answerKind]="'MAYBE'"
|
|
|
|
*ngIf="poll.allowed_answers.indexOf('maybe') !== -1"
|
|
|
|
></app-choice-button>
|
|
|
|
<app-choice-button
|
|
|
|
[poll]="poll"
|
|
|
|
[choice]="choice"
|
|
|
|
[answerKind]="'NO'"
|
|
|
|
*ngIf="poll.allowed_answers.indexOf('no') !== -1"
|
|
|
|
></app-choice-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-07 11:42:25 +01:00
|
|
|
</div>
|
|
|
|
<app-nav-steps [next_step_number]="2" [previous_step_number]="0"></app-nav-steps>
|