mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
c5021a2aa1
Texts have been replaced only when the keys were in the json files. i18n attributes have been added only when keys were not in the json files.
59 lines
1.1 KiB
HTML
59 lines
1.1 KiB
HTML
<div i18n>
|
|
{{"dates.title"|translate}}
|
|
</div>
|
|
|
|
<div>
|
|
<select
|
|
name="multi_hours"
|
|
id="multi_hours"
|
|
[(ngModel)]="config.allowSeveralHours"
|
|
>
|
|
<option value="true">{{"dates.multiple.different"|translate}}</option>
|
|
<option value="false">{{"dates.multiple.identical"|translate}}</option>
|
|
</select>
|
|
|
|
<label for="multi_hours">
|
|
<span i18n>
|
|
Je souhaite mettre des créneaux horaires
|
|
</span>
|
|
|
|
<span i18n>
|
|
pour chaque journée
|
|
</span>
|
|
</label>
|
|
</div>
|
|
|
|
<button
|
|
class="btn btn-primary"
|
|
(click)="addDate()"
|
|
i18n
|
|
>
|
|
{{"dates.add"|translate}}
|
|
</button>
|
|
<div class="dates-list">
|
|
{{config.dateList.length}}
|
|
<span i18n>
|
|
{{"dates.count_dates"|translate}}
|
|
</span>
|
|
|
|
<div
|
|
*ngFor="let choice of config.dateList; index as id"
|
|
class="date-choice"
|
|
>
|
|
<input
|
|
type="text"
|
|
name="dateChoices[]"
|
|
[(ngModel)]="choice.literal"
|
|
>
|
|
|
|
<button (click)="config.dateList.splice(id, 1)">X</button>
|
|
</div>
|
|
</div>
|
|
|
|
<a
|
|
[routerLink]="'/step/end'"
|
|
class="btn btn-block"
|
|
>
|
|
C'est parfait!
|
|
</a>
|