From 9372e34c3ea60a5fbbf839bf1ad5680512cab352 Mon Sep 17 00:00:00 2001
From: Sundaram Dubey <56407566+maze-runnar@users.noreply.github.com>
Date: Wed, 18 Nov 2020 15:04:28 +0530
Subject: [PATCH] fix: list front page restriction in frontpage tab (#5598)
---
app/router.js | 1 +
app/templates/admin/settings.hbs | 3 +
app/templates/admin/settings/frontpage.hbs | 112 +++++++++++++++++++++
3 files changed, 116 insertions(+)
create mode 100644 app/templates/admin/settings/frontpage.hbs
diff --git a/app/router.js b/app/router.js
index 9a81a0b563a..544ee8e9205 100644
--- a/app/router.js
+++ b/app/router.js
@@ -206,6 +206,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..f202a782da5
--- /dev/null
+++ b/app/templates/admin/settings/frontpage.hbs
@@ -0,0 +1,112 @@
+
+
+
+ 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.' }}
+ |
+
+
+