Skip to content

Commit

Permalink
Merge pull request #9540 from DFE-Digital/1982-reminder-email-content-p2
Browse files Browse the repository at this point in the history
[1982] Update unsubscribe content
  • Loading branch information
elceebee authored Jul 9, 2024
2 parents 3d210e7 + 29b6d8b commit fca5201
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-m"><%= t('unsubscribe_from_emails.heading') %></h1>
<p class="govuk-body"><%= t('unsubscribe_from_emails.paragraph') %></p>
</div>
</div>
4 changes: 3 additions & 1 deletion app/views/candidate_mailer/eoc_deadline_reminder.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ If you have questions about your application, you can [get in touch with us on t

You can also [get a teacher training adviser](<%= email_link_with_utm_params I18n.t('get_into_teaching.url_get_an_adviser_start'), 'eoc_deadline_reminder', @application_form.phase %>) for free, one-to-one support to help you write a strong application.

[Unsubscribe from these messages](<%= candidate_unsubscribe_link(@application_form.candidate) %>) to stop receiving deadline reminders. You will still receive updates about your application.
---

[Unsubscribe from these emails](<%= candidate_unsubscribe_link(@application_form.candidate) %>). You will still receive essential updates about your application.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
en:
unsubscribe_from_emails:
page_title: Unsubscribe from emails
heading: You have unsubscribed from emails
heading: You have successfully unsubscribed
paragraph: You will still receive essential updates about your application.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def then_i_am_unsubscribed
end

def and_i_see_unsubscribe_confirmation
expect(page).to have_content 'You have unsubscribed from emails'
expect(page).to have_content 'You have successfully unsubscribed'
end
alias_method :then_i_see_unsubscribe_confirmation, :and_i_see_unsubscribe_confirmation
def and_i_am_on_application_details_page
Expand Down

0 comments on commit fca5201

Please sign in to comment.