Skip to content

Commit

Permalink
Merge pull request #1707 from alphagov/pepPrepForEmailTitles
Browse files Browse the repository at this point in the history
Update subscribers lists for Pre-Election copy
  • Loading branch information
emmabeynon authored Nov 4, 2019
2 parents ad8f660 + e0ca0d8 commit 1c9b77b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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/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 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 1c9b77b

Please sign in to comment.