From 128e1ef1d9d96db528067c3612d77d4ff9708816 Mon Sep 17 00:00:00 2001 From: sundaram Date: Fri, 13 Nov 2020 12:20:11 +0530 Subject: [PATCH 1/3] fix: list front page restriction in frontpage tab --- app/router.js | 1 + app/templates/admin/settings.hbs | 3 +++ app/templates/admin/settings/frontpage.hbs | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 app/templates/admin/settings/frontpage.hbs diff --git a/app/router.js b/app/router.js index bb7d1444e5a..ff6b2afcd46 100644 --- a/app/router.js +++ b/app/router.js @@ -201,6 +201,7 @@ Router.map(function() { this.route('payment-gateway'); this.route('ticket-fees'); this.route('billing'); + this.route('frontpage'); }); this.route('content', function() { this.route('social-links'); diff --git a/app/templates/admin/settings.hbs b/app/templates/admin/settings.hbs index b4ab035360c..10701ae1a4e 100644 --- a/app/templates/admin/settings.hbs +++ b/app/templates/admin/settings.hbs @@ -23,6 +23,9 @@ {{t 'Billing'}} + + {{t 'Front Page'}} + diff --git a/app/templates/admin/settings/frontpage.hbs b/app/templates/admin/settings/frontpage.hbs new file mode 100644 index 00000000000..d3245d66cd9 --- /dev/null +++ b/app/templates/admin/settings/frontpage.hbs @@ -0,0 +1,17 @@ +
+
+ {{ t 'Do not show an event on start page if it does not have any public ticket.' }} +
+
+ {{ t 'If the sales time of the ticket is passed then event should not show on the start page.' }} +
+
+ {{ t 'Do not show an event on start page if it all tickets are sold or only hidden ticket remain.' }} +
+
+ {{ t 'Event should have a header Image and logo otherwise do not show on front page.' }} +
+
+ {{ t 'Event should have Event Type, Event Topic, and Event Sub Topic.' }} +
+
\ No newline at end of file From 0f870e4b135d3deff7f5c3d7ca1529aca9d7ca0e Mon Sep 17 00:00:00 2001 From: sundaram Date: Tue, 17 Nov 2020 22:29:30 +0530 Subject: [PATCH 2/3] f --- app/templates/admin/settings/frontpage.hbs | 129 ++++++++++++++++++--- 1 file changed, 112 insertions(+), 17 deletions(-) diff --git a/app/templates/admin/settings/frontpage.hbs b/app/templates/admin/settings/frontpage.hbs index d3245d66cd9..19d95688735 100644 --- a/app/templates/admin/settings/frontpage.hbs +++ b/app/templates/admin/settings/frontpage.hbs @@ -1,17 +1,112 @@ -
-
- {{ t 'Do not show an event on start page if it does not have any public ticket.' }} -
-
- {{ t 'If the sales time of the ticket is passed then event should not show on the start page.' }} -
-
- {{ t 'Do not show an event on start page if it all tickets are sold or only hidden ticket remain.' }} -
-
- {{ t 'Event should have a header Image and logo otherwise do not show on front page.' }} -
-
- {{ t 'Event should have Event Type, Event Topic, and Event Sub Topic.' }} -
-
\ No newline at end of file + + + + + + + + + + + +

Featured Events

+ {{ t 'Any event that is switched to Featured Event by admins is listed here.' }} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Upcoming Events

+ {{ t 'up to 21 events should be listed here.' }} +
+ {{ t 'admins have the option to move any event without restrictions to the top of this line by switching events to Promoted Events in the event admin panel' }} +
+ {{ t 'promoted events should always show up on the top of Upcoming Events' }} +
+ {{ t 'The event should have location or online link and a date' }} +
+ {{ t 'The event should have Tickets.' }} +
+ {{ t 'Do not show an event on start page if it does not have any public ticket.' }} +
+ {{ t 'If the sales time of the ticket is passed then event should not show on the start page.' }} +
+ {{ t 'Do not show an event on start page if it all tickets are sold or only hidden ticket remain.' }} +
+ {{ t 'The event should have an Image.' }} +
+ {{ t 'The event should have an logo.' }} +
+ {{ t 'The event should have an Event Topic.' }} +
+ {{ t 'The event should have an Event Sub Topic.' }} +
+ {{ t 'The event should have a twitter link.' }} +
+ + + + + + + + + + + + + + + + + +

Call for Speakers

+ {{ t 'Up to 12 events would be listed here and there is a more link below to show more events on the cfs page if there are more events.' }} +
+ {{ t 'Events listed here have a Call For Speaker.' }} +
+ {{ t 'Requirements of Upcoming Events.' }} +
From 87f833af7185a08fb03673137650126a908c1530 Mon Sep 17 00:00:00 2001 From: Sundaram Dubey <56407566+maze-runnar@users.noreply.github.com> Date: Wed, 18 Nov 2020 15:03:23 +0530 Subject: [PATCH 3/3] the one condition that is not full filled --- app/templates/admin/settings/frontpage.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/admin/settings/frontpage.hbs b/app/templates/admin/settings/frontpage.hbs index 19d95688735..f202a782da5 100644 --- a/app/templates/admin/settings/frontpage.hbs +++ b/app/templates/admin/settings/frontpage.hbs @@ -56,7 +56,7 @@ - {{ t 'Do not show an event on start page if it all tickets are sold or only hidden ticket remain.' }} + {{ t 'Do not show an event on start page if it all tickets are sold or only hidden ticket remain.' }}