Skip to content

Commit

Permalink
Change every last reference to Get Ready
Browse files Browse the repository at this point in the history
This will also require database changes to Subscriptions
  • Loading branch information
huwd committed Oct 31, 2019
1 parent fc5d8d9 commit 2b1c825
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/controllers/brexit_checker_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand Down
2 changes: 1 addition & 1 deletion app/views/brexit_checker/email_signup.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">Get email alerts</h1>
<p class="govuk-body">You are signing up for email alerts about: the Get ready for Brexit tool.
<p class="govuk-body">You are signing up for email alerts about: the How to prepare for a no deal Brexit tool.
<p class="govuk-body">
This will include: Information about Brexit including what you and your business can do to prepare.
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/development/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p>The following pages are rendered by this application:</p>

<ul>
<li><%= link_to "Get ready for Brexit questions", brexit_checker_questions_path %></li>
<li><%= link_to "How to prepare for a no deal Brexit questions", brexit_checker_questions_path %></li>
<% @rendered_pages.each do |page| %>
<li><%= link_to page.fetch("title"), page.fetch("link") %></li>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en/brexit_checker/email_signup.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion config/locales/en/brexit_checker/results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en/brexit_checker/show.yml
Original file line number Diff line number Diff line change
@@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/brexit-checker.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion spec/features/brexit_checker/email_signup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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] } },
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/services/email_alert_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) } },
Expand Down

0 comments on commit 2b1c825

Please sign in to comment.