From 514529ca602e1a90b4c14ea14e9b2476be122ee1 Mon Sep 17 00:00:00 2001 From: Sandeep Mandal Date: Fri, 23 Oct 2020 20:42:58 +0530 Subject: [PATCH 1/3] Wizard step 3 and 5 enhanced accordingly --- .../forms/wizard/custom-form-input.hbs | 11 +- .../forms/wizard/sessions-speakers-step.hbs | 379 +++++++++--------- 2 files changed, 187 insertions(+), 203 deletions(-) diff --git a/app/components/forms/wizard/custom-form-input.hbs b/app/components/forms/wizard/custom-form-input.hbs index b42400a5105..a5c29592191 100644 --- a/app/components/forms/wizard/custom-form-input.hbs +++ b/app/components/forms/wizard/custom-form-input.hbs @@ -1,10 +1,10 @@ -

+
-
+ {{t 'Add Custom Form Field'}} -
-

+ +
@@ -17,5 +17,6 @@
Number
- + \ No newline at end of file diff --git a/app/templates/components/forms/wizard/sessions-speakers-step.hbs b/app/templates/components/forms/wizard/sessions-speakers-step.hbs index 5c839b73c73..a88d2596b51 100644 --- a/app/templates/components/forms/wizard/sessions-speakers-step.hbs +++ b/app/templates/components/forms/wizard/sessions-speakers-step.hbs @@ -1,4 +1,5 @@ -
+
@@ -19,213 +20,201 @@
{{#if this.data.event.isSessionsSpeakersEnabled}} -
-

- -
- {{t 'Sessions, Microlocations, Session Types'}} -
-

-
- - {{#each this.tracks as |track|}} -
-
- -
-
- - {{#if (gt this.tracks.length 1)}} - - {{/if}} - - -
-
- -
-
- {{/each}} -
- -
- - {{#each this.microlocations as |microlocation|}} -
-
- -
-
-
- - {{#if (gt this.microlocations.length 1)}} - - {{/if}} - -
-
-
- {{/each}} +
+

+ +
+ {{t 'Sessions, Microlocations, Session Types'}}
-
- - {{#each this.sessionTypes as |sessionType|}} -
-
- -
-
-
- - {{#if (gt this.sessionTypes.length 1)}} - - {{/if}} - -
-
-
- {{/each}} +

+
+ + {{#each this.tracks as |track|}} +
+
+ +
+
+ + {{#if (gt this.tracks.length 1)}} + + {{/if}} + + +
+
+ +
+ {{/each}} +
-
-
-
-
- - +
+ + {{#each this.microlocations as |microlocation|}} +
+
+
-
- {{#if this.hasCallForSpeaker}} -

- -
- {{t 'Call for speakers'}} +
+
+ + {{#if (gt this.microlocations.length 1)}} + + {{/if}} +
-

-
- -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
+
+ {{/each}} +
+
+ + {{#each this.sessionTypes as |sessionType|}} +
+
+
-
- +
- - - - - {{t 'Copy'}} - - + + {{#if (gt this.sessionTypes.length 1)}} + + {{/if}} +
- - {{t 'Share this link to get private submission independently of open/closed Call for Speakers at any time. (the link will be active once the event is saved)'}} -
-
- -
-
- {{widgets/forms/radio-button this.value name='privacy' id='privacy_public' value='public' checked=this.data.speakersCall.privacy}} - -
-
-
-
- {{widgets/forms/radio-button this.value name='privacy' id='privacy_private' value='private' checked=this.data.speakersCall.privacy}} - -
-
+
+ {{/each}} +
+ +
+
+
+
+ + +
+
+ {{#if this.hasCallForSpeaker}} +

+ +
+ {{t 'Call for speakers'}} +
+

+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ + + + + {{t 'Copy'}} + + +
+ + {{t 'Share this link to get private submission independently of open/closed Call for Speakers at any time. (the link will be active once the event is saved)'}} + +
+
+ +
+
+ {{widgets/forms/radio-button this.value name='privacy' id='privacy_public' value='public' checked=this.data.speakersCall.privacy}} +
- {{/if}} -
-

- -
- {{t 'Customize registration form'}} +
+
+
+ {{widgets/forms/radio-button this.value name='privacy' id='privacy_private' value='private' checked=this.data.speakersCall.privacy}} +
-

+
+
+ {{/if}} +
+

+ +
+ {{t 'Customize submission forms'}} +
+

-
-
- +
+
+ - + -
-
- +
+
+ - -
+
-
+
+
{{else}} -
+
{{/if}} {{!-- Hiding the Custom Widget Form, Until it is ready to be deployed for Development & Production. {{#each complexCustomForms as |form|}} @@ -270,11 +259,5 @@ - - \ No newline at end of file + \ No newline at end of file From 77135ffc8c00768882e55ca4f0a6ae365e41fff8 Mon Sep 17 00:00:00 2001 From: Sandeep Mandal Date: Mon, 26 Oct 2020 12:42:29 +0530 Subject: [PATCH 2/3] Copied development branch --- .../forms/wizard/custom-form-input.hbs | 11 +- .../forms/wizard/sessions-speakers-step.hbs | 379 +++++++++--------- 2 files changed, 203 insertions(+), 187 deletions(-) diff --git a/app/components/forms/wizard/custom-form-input.hbs b/app/components/forms/wizard/custom-form-input.hbs index a5c29592191..b42400a5105 100644 --- a/app/components/forms/wizard/custom-form-input.hbs +++ b/app/components/forms/wizard/custom-form-input.hbs @@ -1,10 +1,10 @@ -
+

- +
{{t 'Add Custom Form Field'}} - -
+

+
@@ -17,6 +17,5 @@
Number
- +
\ No newline at end of file diff --git a/app/templates/components/forms/wizard/sessions-speakers-step.hbs b/app/templates/components/forms/wizard/sessions-speakers-step.hbs index a88d2596b51..5c839b73c73 100644 --- a/app/templates/components/forms/wizard/sessions-speakers-step.hbs +++ b/app/templates/components/forms/wizard/sessions-speakers-step.hbs @@ -1,5 +1,4 @@ -
+
@@ -20,201 +19,213 @@
{{#if this.data.event.isSessionsSpeakersEnabled}} -
-

- -
- {{t 'Sessions, Microlocations, Session Types'}} -
-

-
- - {{#each this.tracks as |track|}} -
-
- -
-
- - {{#if (gt this.tracks.length 1)}} - - {{/if}} - - -
-
- +
+

+ +
+ {{t 'Sessions, Microlocations, Session Types'}}
+

+
+ + {{#each this.tracks as |track|}} +
+
+ +
+
+ + {{#if (gt this.tracks.length 1)}} + + {{/if}} + + +
+
+ +
+
+ {{/each}}
- {{/each}} -
-
- - {{#each this.microlocations as |microlocation|}} -
-
- -
-
-
- - {{#if (gt this.microlocations.length 1)}} - - {{/if}} - +
+ + {{#each this.microlocations as |microlocation|}} +
+
+ +
+
+
+ + {{#if (gt this.microlocations.length 1)}} + + {{/if}} + +
+
-
+ {{/each}}
- {{/each}} -
-
- - {{#each this.sessionTypes as |sessionType|}} -
-
- -
-
-
- - {{#if (gt this.sessionTypes.length 1)}} - - {{/if}} - +
+ + {{#each this.sessionTypes as |sessionType|}} +
+
+ +
+
+
+ + {{#if (gt this.sessionTypes.length 1)}} + + {{/if}} + +
+
-
+ {{/each}}
- {{/each}} -
-
-
-
-
- - -
-
- {{#if this.hasCallForSpeaker}} -

- -
- {{t 'Call for speakers'}} -
-

-
- - -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- -
- - - - - {{t 'Copy'}} - - -
- - {{t 'Share this link to get private submission independently of open/closed Call for Speakers at any time. (the link will be active once the event is saved)'}} - -
-
- +
+
-
- {{widgets/forms/radio-button this.value name='privacy' id='privacy_public' value='public' checked=this.data.speakersCall.privacy}} - +
+ +
-
-
- {{widgets/forms/radio-button this.value name='privacy' id='privacy_private' value='private' checked=this.data.speakersCall.privacy}} - + {{#if this.hasCallForSpeaker}} +

+ +
+ {{t 'Call for speakers'}} +
+

+
+ +
-
-
- {{/if}} -
-

- -
- {{t 'Customize submission forms'}} -
-

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ + + + + {{t 'Copy'}} + + +
+ + {{t 'Share this link to get private submission independently of open/closed Call for Speakers at any time. (the link will be active once the event is saved)'}} + +
+
+ +
+
+ {{widgets/forms/radio-button this.value name='privacy' id='privacy_public' value='public' checked=this.data.speakersCall.privacy}} + +
+
+
+
+ {{widgets/forms/radio-button this.value name='privacy' id='privacy_private' value='private' checked=this.data.speakersCall.privacy}} + +
+
+
+ {{/if}} +
+

+ +
+ {{t 'Customize registration form'}} +
+

-
-
- +
+
+ - + -
-
- +
+
+ - + +
-
-
+
{{else}} -
+
{{/if}} {{!-- Hiding the Custom Widget Form, Until it is ready to be deployed for Development & Production. {{#each complexCustomForms as |form|}} @@ -259,5 +270,11 @@ - \ No newline at end of file + + \ No newline at end of file From 0f0c2cb2b12ba1e94f1741577f948e21500140d6 Mon Sep 17 00:00:00 2001 From: Sandeep Mandal Date: Mon, 26 Oct 2020 12:48:14 +0530 Subject: [PATCH 3/3] Simplified Wizards --- app/components/forms/wizard/custom-form-input.hbs | 8 ++++---- .../components/forms/wizard/sessions-speakers-step.hbs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/forms/wizard/custom-form-input.hbs b/app/components/forms/wizard/custom-form-input.hbs index b42400a5105..7c0d1958fbe 100644 --- a/app/components/forms/wizard/custom-form-input.hbs +++ b/app/components/forms/wizard/custom-form-input.hbs @@ -1,10 +1,10 @@ -

+
-
+ {{t 'Add Custom Form Field'}} -
-

+ +
diff --git a/app/templates/components/forms/wizard/sessions-speakers-step.hbs b/app/templates/components/forms/wizard/sessions-speakers-step.hbs index 5c839b73c73..c9034343721 100644 --- a/app/templates/components/forms/wizard/sessions-speakers-step.hbs +++ b/app/templates/components/forms/wizard/sessions-speakers-step.hbs @@ -190,7 +190,7 @@

- {{t 'Customize registration form'}} + {{t 'Customize submission forms'}}