forked from tykayn/funky-framadate-front
add default content to poll config
This commit is contained in:
parent
93f3aa76bd
commit
e179be812e
@ -48,9 +48,9 @@ export class PollConfig {
|
|||||||
step = 0;
|
step = 0;
|
||||||
stepMax = 3;
|
stepMax = 3;
|
||||||
pollType = 'classic';// classic or date
|
pollType = 'classic';// classic or date
|
||||||
title = '';
|
title = 'titre';
|
||||||
description = '';
|
description = 'ma description';
|
||||||
myName = '';
|
myName = 'mon pseudo';
|
||||||
|
|
||||||
// date specific poll, we have the choice to setup different hours (timeList) for all possible dates (dateList), or use the same hours for all dates
|
// date specific poll, we have the choice to setup different hours (timeList) for all possible dates (dateList), or use the same hours for all dates
|
||||||
allowSeveralHours = 'false';
|
allowSeveralHours = 'false';
|
||||||
|
@ -1,10 +1,31 @@
|
|||||||
<h1 i18n>
|
<h1>
|
||||||
Résumé avant validation
|
Récapitulatif
|
||||||
</h1>
|
</h1>
|
||||||
|
<h2 class="hero-title">
|
||||||
|
{{config.title}}
|
||||||
|
</h2>
|
||||||
|
<div class="creation">
|
||||||
|
créé par
|
||||||
|
{{config.myName}}
|
||||||
|
</div>
|
||||||
|
<div class="description">
|
||||||
|
<p>
|
||||||
|
{{config.description}}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<section>
|
<section>
|
||||||
<div markdown *ngFor="let questions of config.answers">
|
<ul>
|
||||||
{{questions.id+1}}. {{questions.text}}
|
<li markdown *ngFor="let questions of config.answers">
|
||||||
</div>
|
{{questions.id + 1}}. {{questions.text}}
|
||||||
<button [routerLink]="'/step/answers'" class="btn btn-info">Retour</button>
|
</li>
|
||||||
|
</ul>
|
||||||
|
<button [routerLink]="'/step/answers'" class="btn btn-info">Retour</button>
|
||||||
</section>
|
</section>
|
||||||
<button [routerLink]="'/step/end'" class="btn btn--primary" i18n="@@confirm">C'est parfait!</button>
|
<button [routerLink]="'/step/end'" class="btn btn--primary" i18n="@@confirm">C'est parfait!</button>
|
||||||
|
|
||||||
|
<div class="back">
|
||||||
|
<a [routerLink]="'/step/visibility'"
|
||||||
|
class="btn btn--back">
|
||||||
|
Retour
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user