From 2b1c8256bc23042036be421677eb27de5eb094f7 Mon Sep 17 00:00:00 2001 From: Huw Diprose Date: Thu, 31 Oct 2019 16:03:33 +0000 Subject: [PATCH] Change every last reference to Get Ready This will also require database changes to Subscriptions --- app/controllers/brexit_checker_controller.rb | 2 +- app/views/brexit_checker/email_signup.html.erb | 2 +- app/views/development/index.html.erb | 2 +- config/locales/en/brexit_checker/email_signup.yml | 2 +- config/locales/en/brexit_checker/results.yml | 2 +- config/locales/en/brexit_checker/show.yml | 2 +- config/locales/en/brexit_checker_mailer/change_notification.yml | 2 +- docs/brexit-checker.md | 2 +- spec/features/brexit_checker/email_signup_spec.rb | 2 +- spec/lib/services/email_alert_api_spec.rb | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/controllers/brexit_checker_controller.rb b/app/controllers/brexit_checker_controller.rb index 71340f0d4..b71363b37 100644 --- a/app/controllers/brexit_checker_controller.rb +++ b/app/controllers/brexit_checker_controller.rb @@ -51,7 +51,7 @@ def subscriber_list_options path = brexit_checker_results_path(c: criteria_keys) { - "title" => "Your Get ready for Brexit results", + "title" => "How to prepare for a no deal Brexit", "description" => "[You can view a copy of your results on GOV.UK.](#{Plek.new.website_root}#{path})", "group_id" => SUBSCRIBER_LIST_GROUP_ID, "tags" => { "brexit_checklist_criteria" => { "any" => criteria_keys } }, diff --git a/app/views/brexit_checker/email_signup.html.erb b/app/views/brexit_checker/email_signup.html.erb index 2405cf749..bd0539edb 100644 --- a/app/views/brexit_checker/email_signup.html.erb +++ b/app/views/brexit_checker/email_signup.html.erb @@ -29,7 +29,7 @@

Get email alerts

-

You are signing up for email alerts about: the Get ready for Brexit tool. +

You are signing up for email alerts about: the How to prepare for a no deal Brexit tool.

This will include: Information about Brexit including what you and your business can do to prepare.

diff --git a/app/views/development/index.html.erb b/app/views/development/index.html.erb index fffcafe8b..993ac7bd4 100644 --- a/app/views/development/index.html.erb +++ b/app/views/development/index.html.erb @@ -8,7 +8,7 @@

The following pages are rendered by this application:

    -
  • <%= link_to "Get ready for Brexit questions", brexit_checker_questions_path %>
  • +
  • <%= link_to "How to prepare for a no deal Brexit questions", brexit_checker_questions_path %>
  • <% @rendered_pages.each do |page| %>
  • <%= link_to page.fetch("title"), page.fetch("link") %>
  • <% end %> diff --git a/config/locales/en/brexit_checker/email_signup.yml b/config/locales/en/brexit_checker/email_signup.yml index 8b1711963..9194f2103 100644 --- a/config/locales/en/brexit_checker/email_signup.yml +++ b/config/locales/en/brexit_checker/email_signup.yml @@ -1,5 +1,5 @@ en: brexit_checker: email_signup: - title: "Get ready for Brexit: check what you need to do" + title: "How to prepare for a no deal Brexit: check what you need to do" sign_up: Subscribe diff --git a/config/locales/en/brexit_checker/results.yml b/config/locales/en/brexit_checker/results.yml index ca40e806e..25e759e55 100644 --- a/config/locales/en/brexit_checker/results.yml +++ b/config/locales/en/brexit_checker/results.yml @@ -15,7 +15,7 @@ en: email_sign_up_link_no_actions: | This may change. Subscribe to email alerts about changes to Brexit information that may affect you. social_media_meta: - title: Get ready for Brexit + title: How to prepare for a no deal Brexit description: | Check what you or your business need to do to prepare for Brexit. audiences: diff --git a/config/locales/en/brexit_checker/show.yml b/config/locales/en/brexit_checker/show.yml index 609174ff9..a19b4b000 100644 --- a/config/locales/en/brexit_checker/show.yml +++ b/config/locales/en/brexit_checker/show.yml @@ -1,4 +1,4 @@ en: brexit_checker: show: - title: "Get ready for Brexit: check what you need to do" + title: "How to prepare for a no deal Brexit: check what you need to do" diff --git a/config/locales/en/brexit_checker_mailer/change_notification.yml b/config/locales/en/brexit_checker_mailer/change_notification.yml index 34f9f68fd..ddf059f1b 100644 --- a/config/locales/en/brexit_checker_mailer/change_notification.yml +++ b/config/locales/en/brexit_checker_mailer/change_notification.yml @@ -2,6 +2,6 @@ en: brexit_checker_mailer: change_notification: guidance_prompt: Read the guidance - title: Your Get ready for Brexit results + title: How to prepare for a no deal Brexit addition: A new action has been added content_change: An action has been updated diff --git a/docs/brexit-checker.md b/docs/brexit-checker.md index 622ce36f0..b429ae6e2 100644 --- a/docs/brexit-checker.md +++ b/docs/brexit-checker.md @@ -1,6 +1,6 @@ # Brexit Checker -Finder frontend is responsible for the question and answer workflow of the "Get Ready for Brexit" Checker (aka Dynamic Lists). The tool allows users to answer a series of questions and then presents a list of "actions" that are relevant to them. +Finder frontend is responsible for the question and answer workflow of the "How to prepare for a no deal Brexit" Checker (aka Dynamic Lists). The tool allows users to answer a series of questions and then presents a list of "actions" that are relevant to them. ## Data model Main concepts for the Brexit Checker include: diff --git a/spec/features/brexit_checker/email_signup_spec.rb b/spec/features/brexit_checker/email_signup_spec.rb index 3e4428dec..fdab27269 100644 --- a/spec/features/brexit_checker/email_signup_spec.rb +++ b/spec/features/brexit_checker/email_signup_spec.rb @@ -7,7 +7,7 @@ let(:subscriber_list) do { - "title" => "Your Get ready for Brexit results", + "title" => "How to prepare for a no deal Brexit", "slug" => "your-get-ready-for-brexit-results-a1a2a3a4a5", "description" => "[You can view a copy of your results on GOV.UK.](https://www.test.gov.uk/get-ready-brexit-check/results?c%5B%5D=nationality-eu)", "tags" => { "brexit_checklist_criteria" => { "any" => %w[nationality-eu] } }, diff --git a/spec/lib/services/email_alert_api_spec.rb b/spec/lib/services/email_alert_api_spec.rb index 25530cc85..cd8b8c66a 100644 --- a/spec/lib/services/email_alert_api_spec.rb +++ b/spec/lib/services/email_alert_api_spec.rb @@ -13,7 +13,7 @@ let(:subscriber_list_options) do { - "title" => "Your Get ready for Brexit results", + "title" => "How to prepare for a no deal Brexit", "slug" => subscriber_list_slug, "description" => "You can view a copy of your results on GOV.UK.", "tags" => { "brexit_checklist_criteria" => { "any" => %w(does-not-own-business eu-national) } },