diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index 2864e1b8..2490e3fe 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -30,7 +30,7 @@ diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.ts b/src/app/features/administration/form/steps/step-three/step-three.component.ts index aa5c04e5..490263f4 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.ts +++ b/src/app/features/administration/form/steps/step-three/step-three.component.ts @@ -22,12 +22,14 @@ export class StepThreeComponent implements OnInit { drop(event: CdkDragDrop) { // moveItemInArray(this.pollService.choices, event.previousIndex, event.currentIndex); } - - changeDateInputMode() { + convertDateInputs() { this.pollService.mode_calendar ? this.pollService.convertCalendarToText() : this.pollService.convertTextToCalendar(); + } + changeDateInputMode() { + this.convertDateInputs(); this.pollService.mode_calendar = !this.pollService.mode_calendar; } } diff --git a/src/app/features/administration/nav-steps/nav-steps.component.html b/src/app/features/administration/nav-steps/nav-steps.component.html index 083d8c79..9b7e93c2 100644 --- a/src/app/features/administration/nav-steps/nav-steps.component.html +++ b/src/app/features/administration/nav-steps/nav-steps.component.html @@ -5,7 +5,7 @@ class="button button-previous is-secondary pull-left" [routerLink]="['/administration/step/' + previous_step_number]" > - Précédent + {{ 'nav.previous' | translate }} diff --git a/src/app/features/administration/stepper/stepper.component.html b/src/app/features/administration/stepper/stepper.component.html index e42e12c6..e2620d58 100644 --- a/src/app/features/administration/stepper/stepper.component.html +++ b/src/app/features/administration/stepper/stepper.component.html @@ -79,9 +79,9 @@

Étape {{ step_current }} sur {{ step_max }}

- + - Annuler + {{ 'nav.leave' | translate }}
@@ -91,7 +91,7 @@ +
{{ 'LANGUAGES.' + currentLang | translate }} - + +
- +