mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
display heading order in stepper
This commit is contained in:
parent
ba6f11d45c
commit
7e64ec7f69
@ -65,18 +65,21 @@
|
|||||||
alt="accueil {{ environment.appTitle }}"
|
alt="accueil {{ environment.appTitle }}"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<h1 *ngIf="pollService.step_current == 1">
|
<h1>
|
||||||
<span class="step-title-poll">
|
<span class="step-title-poll" *ngIf="pollService.step_current == 1">
|
||||||
{{ 'creation.title' | translate }}
|
{{ 'creation.title' | translate }}
|
||||||
</span>
|
</span>
|
||||||
<span class="step-counter-text">Étape {{ step_current }} sur {{ step_max }}</span>
|
|
||||||
</h1>
|
<span *ngIf="pollService.step_current > 1">
|
||||||
<h1 *ngIf="pollService.step_current >= 2">
|
<span class="step-title-poll poll-title-filled" *ngIf="pollService.form.value.title.length">
|
||||||
<span class="step-title-poll poll-title-filled" *ngIf="pollService.form.value.title.length">
|
{{ pollService.form.value.title }}
|
||||||
{{ pollService.form.value.title }}
|
</span>
|
||||||
|
<span class="step-title-poll poll-title-empty" *ngIf="!pollService.form.value.title.length">
|
||||||
|
(Aucun titre)
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="step-title-poll poll-title-empty" *ngIf="!pollService.form.value.title.length">
|
<span class="step-counter-text" *ngIf="pollService.step_current !== 1"
|
||||||
(Aucun titre)
|
>Étape {{ step_current }} sur {{ step_max }}
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user