Skip to content

Commit

Permalink
Update completed page
Browse files Browse the repository at this point in the history
Change topic styling from topic in inverted commas to topic with emphasis style but no inverted commas
  • Loading branch information
koetsier committed Jan 2, 2020
1 parent 0e71ecd commit d250fb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/views/subscription_authentication/complete.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
} %>

<p class="govuk-body">
<%= t("subscription_authentication.complete.summary.#{@frequency}", title: @title) %>
<%= t("subscription_authentication.complete.summary.#{@frequency}_html", title: @title) %>
</p>
</div>
</div>
6 changes: 3 additions & 3 deletions config/locales/subscription_authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ en:
browser_title: "Subscription created successfully"
title: "You’ve subscribed successfully"
summary:
immediately: "You’ll get an email each time there’s an update to%{title}"
daily: "You’ll get an email each day there’s been an update to%{title}"
weekly: "You’ll get one email per week if there’s been an update to %{title}"
immediately_html: "You’ll get an email each time there’s an update to: <strong>%{title}</strong>"
daily_html: "You’ll get an email each day there’s been an update to: <strong>%{title}</strong>"
weekly_html: "You’ll get one email per week if there’s been an update: to <strong>%{title}</strong>"
8 changes: 2 additions & 6 deletions spec/features/subscribe_back_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,12 @@ def when_i_start_signup_via_govuk
def and_i_select_frequency_and_submit
stub_email_alert_api_sends_subscription_verification_email("person@somewhere.uk", "daily", @topic_id)
choose(option: "daily")
within "form.checklist-email-signup" do
click_button
end
click_on "Continue"
end

def and_i_fill_in_my_email
fill_in "address", with: "person@somewhere.uk"
within "form.checklist-email-signup" do
click_button
end
click_on "Continue"
end

def when_i_start_signup_externally
Expand Down

0 comments on commit d250fb3

Please sign in to comment.