From 871f17d7bfd5fb2dc15482535c8d6a954c511f1a Mon Sep 17 00:00:00 2001 From: Louis Kirkham Date: Mon, 9 Sep 2024 08:39:41 +0100 Subject: [PATCH] chore: Update copy in reminder email Signed-off-by: Louis Kirkham --- .../account_mailers/reminder_to_submit_mailer.rb | 2 +- app/renderers/mail_renderer.rb | 2 +- .../reminder_to_submit_mailer/notify.text.erb | 8 ++++---- .../reminder_to_submit_mailer/preview/notify.html.slim | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/mailers/account_mailers/reminder_to_submit_mailer.rb b/app/mailers/account_mailers/reminder_to_submit_mailer.rb index a3401701a3..015f843974 100644 --- a/app/mailers/account_mailers/reminder_to_submit_mailer.rb +++ b/app/mailers/account_mailers/reminder_to_submit_mailer.rb @@ -6,7 +6,7 @@ def notify(form_answer_id, collaborator_id) submission_deadline = Settings.current_submission_deadline deadline_time = formatted_deadline_time(submission_deadline) deadline_date = submission_deadline.trigger_at.strftime("%A, %d %B %Y") - @deadline = "#{deadline_time} on #{deadline_date}" + @deadline = "#{deadline_time} this #{deadline_date}" ordinal = submission_deadline.trigger_at.day.ordinal subject_deadline = submission_deadline.strftime("%e#{ordinal} %B") diff --git a/app/renderers/mail_renderer.rb b/app/renderers/mail_renderer.rb index 5d2e4177ea..f53d7408ad 100644 --- a/app/renderers/mail_renderer.rb +++ b/app/renderers/mail_renderer.rb @@ -93,7 +93,7 @@ def reminder_to_submit assigns[:user] = dummy_user("Jon", "Doe", "Jane's Company") assigns[:form_answer] = form_answer deadline_time = deadline_time("submission_end") - assigns[:deadline] = deadline_str("submission_end", "#{deadline_time} on %A, %d %B %Y") + assigns[:deadline] = deadline_str("submission_end", "#{deadline_time} this %A, %d %B %Y") render(assigns, "account_mailers/reminder_to_submit_mailer/preview/notify") end diff --git a/app/views/account_mailers/reminder_to_submit_mailer/notify.text.erb b/app/views/account_mailers/reminder_to_submit_mailer/notify.text.erb index 4b574f5935..30d420d24f 100644 --- a/app/views/account_mailers/reminder_to_submit_mailer/notify.text.erb +++ b/app/views/account_mailers/reminder_to_submit_mailer/notify.text.erb @@ -4,16 +4,16 @@ We're really happy to hear that you've started your application, so please don't #<%= @deadline %> -Whether you excel in international trade, have a great innovative product or service, or have an impressive social mobility initiative or sustainable development programme, receiving a King's Award is a unique way to gain recognition for your achievements. - -If you miss the deadline, you will lose the chance for your business to receive this internationally-respected accolade. So act now! +Receiving a King's Award is a unique way to gain recognition for your business's achievements, so if you miss the deadline, you will lose the chance for your business to receive this internationally respected accolade. If you have any queries, please contact us at kingsawards@businessandtrade.gov.uk or via the Helpline on 020 7 215 6880. Visit the King's Awards for Enterprise website to continue and submit your application via the link below: <%= edit_form_url(id: @form_answer.id) %> -If you have already submitted your application - for example, for another category, or you have decided not to submit your application - please ignore this message, and thank you for your interest in The King's Awards. +If you have already submitted your application - for example, for another category, or you have decided not to submit your application - please ignore this reminder, and thank you for your interest in The King's Awards. + +We want to improve our service, so it would be very helpful to have your feedback on the application process. Please look out for our user survey in around two weeks' time. Thank you, diff --git a/app/views/account_mailers/reminder_to_submit_mailer/preview/notify.html.slim b/app/views/account_mailers/reminder_to_submit_mailer/preview/notify.html.slim index 34bb1ca334..bf3ace0324 100644 --- a/app/views/account_mailers/reminder_to_submit_mailer/preview/notify.html.slim +++ b/app/views/account_mailers/reminder_to_submit_mailer/preview/notify.html.slim @@ -7,10 +7,7 @@ p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0; font- =< @deadline p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" - | Whether you excel in international trade, have a great innovative product or service, or have an impressive social mobility initiative or sustainable development programme, receiving a King's Award is a unique way to gain recognition for your achievements. - -p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" - | If you miss the deadline, you will lose your chance for your business to receive this internationally-respected accolade. So act now! + | Receiving a King's Award is a unique way to gain recognition for your business's achievements, so if you miss the deadline, you will lose the chance for your business to receive this internationally respected accolade. p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" | If you have any queries, please contact us at kingsawards@businessandtrade.gov.uk or via the Helpline on 020 7 215 6880. @@ -22,7 +19,10 @@ p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" = link_to edit_form_url(id: @form_answer.id), edit_form_url(id: @form_answer.id) p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" - | If you have already submitted your application - for example, for another category, or you have decided not to submit your application - please ignore this message, and thank you for your interest in The King's Awards. + | If you have already submitted your application - for example, for another category, or you have decided not to submit your application - please ignore this reminder, and thank you for your interest in The King's Awards. + +p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" + | We want to improve our service, so it would be very helpful to have your feedback on the application process. Please look out for our user survey in around two weeks' time. p style="font-size: 19px; line-height: 1.315789474; margin: 30px 0 30px 0;" | Thank you,