From 0d243e14ccce274e140c5027a7c9698caeae7a72 Mon Sep 17 00:00:00 2001 From: sakib shaik Date: Tue, 30 Aug 2022 10:04:13 +0100 Subject: [PATCH] ACC-1212 Make syndication maintenance message more generic --- src/js/modal-maintenance.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/js/modal-maintenance.js b/src/js/modal-maintenance.js index 3973d45..21c5c8f 100644 --- a/src/js/modal-maintenance.js +++ b/src/js/modal-maintenance.js @@ -15,9 +15,8 @@ let OVERLAY_FRAGMENT; let OVERLAY_MODAL_ELEMENT; let OVERLAY_SHADOW_ELEMENT; let USER_DATA; -let DAYS_LEFT; -function init (user, daysLeft) { +function init (user) { addEventListener('click', actionModalFromClick, true); addEventListener('keyup', actionModalFromKeyboard, true); @@ -26,7 +25,6 @@ function init (user, daysLeft) { oViewport.listenTo('resize'); USER_DATA = user; - DAYS_LEFT = daysLeft; } function daysUntilMaintenance (date) { @@ -121,20 +119,16 @@ function createElement (item) {
- Maintenance work is scheduled in ${DAYS_LEFT} days on Oct 6, 2021 + Sorry, maintenance work is in progress
-
- ${ '10:30 - 14:30 BST (British Summer Time)'}
- ${ '5:30 - 9:30 EDT (Eastern Daylight Time)'} -
- You will not be able to use the Syndication tool during this time. + You are not able to use the Syndication tool during this time. We will notify you via email once it’s back up and running again.
- If you require articles during the maintenance period, we will be able to provide them if you email + If you require articles during the maintenance period, please email syndication@ft.com - with your requirement. + with your requirement, and we will be happy to help.