advanced fields flattened
This commit is contained in:
parent
d08bba4fcb
commit
e405a09c78
|
@ -95,7 +95,7 @@
|
||||||
<i class="fa fa-close"></i>
|
<i class="fa fa-close"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.areResultsPublic">
|
<mat-checkbox class="is-not-flex" formControlName="areResultsPublic">
|
||||||
Les participants pourront consulter les résultats
|
Les participants pourront consulter les résultats
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<h3 class="title is-3">
|
<h3 class="title is-3">
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
Accès sécurisé
|
Accès sécurisé
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isProtectedByPassword">
|
<mat-checkbox class="is-not-flex" formControlName="isProtectedByPassword">
|
||||||
Le sondage sera protégé par un mot de passe
|
Le sondage sera protégé par un mot de passe
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
matInput
|
matInput
|
||||||
type="password"
|
type="password"
|
||||||
placeholder="password"
|
placeholder="password"
|
||||||
formControlName="configuration.password"
|
formControlName="password"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -122,13 +122,13 @@
|
||||||
<i class="fa fa-enveloppe"></i>
|
<i class="fa fa-enveloppe"></i>
|
||||||
Notifications
|
Notifications
|
||||||
</h3>
|
</h3>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isOwnerNotifiedByEmailOnNewVote">
|
<mat-checkbox class="is-not-flex" formControlName="isOwnerNotifiedByEmailOnNewVote">
|
||||||
Vous recevrez un mail à chaque nouvelle participation
|
Vous recevrez un mail à chaque nouvelle participation
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isOwnerNotifiedByEmailOnNewComment">
|
<mat-checkbox class="is-not-flex" formControlName="isOwnerNotifiedByEmailOnNewComment">
|
||||||
Vous recevrez un mail à chaque nouveau commentaire
|
Vous recevrez un mail à chaque nouveau commentaire
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isMaybeAnswerAvailable">
|
<mat-checkbox class="is-not-flex" formControlName="isMaybeAnswerAvailable">
|
||||||
La réponse « peut-être » sera disponible
|
La réponse « peut-être » sera disponible
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -138,13 +138,13 @@
|
||||||
Fonctionnalités pas encore disponibles:
|
Fonctionnalités pas encore disponibles:
|
||||||
</h2>
|
</h2>
|
||||||
<app-wip-todo></app-wip-todo>
|
<app-wip-todo></app-wip-todo>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isProtectedByPassword">
|
<mat-checkbox class="is-not-flex" formControlName="isProtectedByPassword">
|
||||||
Spécifier un lien unique de vote à des participants définis
|
Spécifier un lien unique de vote à des participants définis
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.allowComments">
|
<mat-checkbox class="is-not-flex" formControlName="allowComments">
|
||||||
Autoriser les commentaires
|
Autoriser les commentaires
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.hasMaxCountOfAnswers">
|
<mat-checkbox class="is-not-flex" formControlName="hasMaxCountOfAnswers">
|
||||||
Nombre de réponses limitées à ce nombre
|
Nombre de réponses limitées à ce nombre
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
<input
|
<input
|
||||||
|
@ -154,11 +154,11 @@
|
||||||
matInput
|
matInput
|
||||||
type="number"
|
type="number"
|
||||||
placeholder="Nombre de réponses max"
|
placeholder="Nombre de réponses max"
|
||||||
formControlName="configuration.maxCountOfAnswers"
|
formControlName="maxCountOfAnswers"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<mat-checkbox class="is-not-flex" formControlName="configuration.isZeroKnoledge">
|
<mat-checkbox class="is-not-flex" formControlName="isZeroKnoledge">
|
||||||
Les informations du sondage seront chiffrés en base de données
|
Les informations du sondage seront chiffrés en base de données
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -105,7 +105,7 @@ export class FormComponent implements OnInit {
|
||||||
* add example values to the form, overrides defaults of PollConfiguration
|
* add example values to the form, overrides defaults of PollConfiguration
|
||||||
*/
|
*/
|
||||||
setDemoValues(): void {
|
setDemoValues(): void {
|
||||||
const title = 'le titre de démo oh oh';
|
const title = 'le titre de démo oh oh' + new Date();
|
||||||
this.form.patchValue({
|
this.form.patchValue({
|
||||||
title: title,
|
title: title,
|
||||||
custom_url: this.pollUtilitiesService.makeSlugFromString(title),
|
custom_url: this.pollUtilitiesService.makeSlugFromString(title),
|
||||||
|
|
Loading…
Reference in New Issue