From d5e4a58f48356b30d503c05462db4b81b52a9730 Mon Sep 17 00:00:00 2001 From: Murray Steele Date: Fri, 1 Sep 2017 09:34:37 +0100 Subject: [PATCH 1/2] End govuk_2Q survey on 5th Sept, not 12th Due to a misunderstanding when interpreting the [trello card](https://trello.com/c/b4J4OpaM/218-emotional-survey-test-banner) we set this survey to end a week later than it should do. It should run from Friday 1st to Tuesday 5th, not Tuesday 12th. --- app/assets/javascripts/surveys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/surveys.js b/app/assets/javascripts/surveys.js index 00552209a..32430607b 100644 --- a/app/assets/javascripts/surveys.js +++ b/app/assets/javascripts/surveys.js @@ -186,7 +186,7 @@ surveyType: 'url', frequency: 6, startTime: new Date('September 1, 2017').getTime(), - endTime: new Date('September 12, 2017 23:59:50').getTime(), + endTime: new Date('September 5, 2017 23:59:50').getTime(), url: 'https://www.smartsurvey.co.uk/s/gov_uk_2q/?c={{currentPath}}', templateArgs: { title: 'Tell us about your visit to GOV.UK', From 54f7490495cf8cade451ee3326ff6c5b761dffbe Mon Sep 17 00:00:00 2001 From: Murray Steele Date: Fri, 1 Sep 2017 09:36:52 +0100 Subject: [PATCH 2/2] Remove govuk_transport survey now it's finished --- app/assets/javascripts/surveys.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/app/assets/javascripts/surveys.js b/app/assets/javascripts/surveys.js index 32430607b..d46e8a1c1 100644 --- a/app/assets/javascripts/surveys.js +++ b/app/assets/javascripts/surveys.js @@ -163,24 +163,6 @@ ] } }, - { - identifier: 'govuk_transport', - surveyType: 'url', - frequency: 20, - startTime: new Date('July 27, 2017').getTime(), - endTime: new Date('August 26, 2017 23:59:50').getTime(), - url: 'https://www.smartsurvey.co.uk/s/govuktransportsurvey?c={{currentPath}}', - templateArgs: { - title: 'Help improve GOV.UK', - surveyCta: 'Answer 3 quick questions to help us make GOV.UK better', - surveyCtaPostscript: 'This will open in a new tab.' - }, - activeWhen: { - path: ['^/browse/driving(?:/|$)'], - organisation: ['','','','','','','','','','','','','','','','','','','',''], - breadcrumb: ['Driving and transport'] - } - }, { identifier: 'govuk_2Q', surveyType: 'url',