From e179be812eda262fb103c67b721f35f7c95010fa Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Sat, 23 Nov 2019 15:46:07 +0100 Subject: [PATCH] add default content to poll config --- src/app/config/PollConfig.ts | 6 ++-- src/app/pages/resume/resume.component.html | 33 ++++++++++++++++++---- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts index 8e5eb102..c34bb98a 100644 --- a/src/app/config/PollConfig.ts +++ b/src/app/config/PollConfig.ts @@ -48,9 +48,9 @@ export class PollConfig { step = 0; stepMax = 3; pollType = 'classic';// classic or date - title = ''; - description = ''; - myName = ''; + title = 'titre'; + description = 'ma description'; + 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 allowSeveralHours = 'false'; diff --git a/src/app/pages/resume/resume.component.html b/src/app/pages/resume/resume.component.html index 70f6636d..9a812cf3 100644 --- a/src/app/pages/resume/resume.component.html +++ b/src/app/pages/resume/resume.component.html @@ -1,10 +1,31 @@ -

- Résumé avant validation +

+ Récapitulatif

+

+ {{config.title}} +

+
+ créé par + {{config.myName}} +
+
+

+ {{config.description}} +

+
-
- {{questions.id+1}}. {{questions.text}} -
- + +
+ +
+ + Retour + +