From 149b98d37665dc8d1f9015970b33e876ce001dd7 Mon Sep 17 00:00:00 2001 From: daretobedifferent18 Date: Thu, 26 Nov 2020 16:37:09 +0530 Subject: [PATCH 1/2] Moved Date-time to left --- app/templates/public/sessions.hbs | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/app/templates/public/sessions.hbs b/app/templates/public/sessions.hbs index b48efb5bf59..eed96a779fc 100644 --- a/app/templates/public/sessions.hbs +++ b/app/templates/public/sessions.hbs @@ -46,11 +46,28 @@ {{/if}}
- {{#each this.model.session as |session|}} - + {{#if this.model.session}} + + + + + + + + + {{#each this.model.session as |session|}} + + + + + {{/each}} + +
{{general-date session.startsAt this.timezone 'HH:mm (z)'}} + +
{{else}}
{{t 'No Sessions exist for this time period'}}
- {{/each}} + {{/if}}
From bb58a0178f2223eda388d99db48ff3178fc19180 Mon Sep 17 00:00:00 2001 From: daretobedifferent18 Date: Thu, 26 Nov 2020 17:58:49 +0530 Subject: [PATCH 2/2] Improved styling --- app/styles/partials/utils.scss | 4 ++++ app/templates/public/sessions.hbs | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app/styles/partials/utils.scss b/app/styles/partials/utils.scss index a86e1c4e910..06be827acbf 100644 --- a/app/styles/partials/utils.scss +++ b/app/styles/partials/utils.scss @@ -61,6 +61,10 @@ padding-top: 0 !important; } +.pt-4 { + padding-top: 1rem !important; +} + .mt-4 { margin-top: 1rem !important; } diff --git a/app/templates/public/sessions.hbs b/app/templates/public/sessions.hbs index eed96a779fc..91b30c9e190 100644 --- a/app/templates/public/sessions.hbs +++ b/app/templates/public/sessions.hbs @@ -50,15 +50,19 @@ - - + + {{#each this.model.session as |session|}} - - +
{{general-date session.startsAt this.timezone 'HH:mm (z)'}} + +

+ {{general-date session.startsAt this.timezone 'h:mm A (z)'}} +

+