From 06453d3da438d42cacc39f8ecac70371046ea83f Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 02:28:11 +0100 Subject: [PATCH 1/6] Updated content as per request --- app/views/teacher_mailer/consent_submitted.text.erb | 8 +++++--- .../further_information_received.text.erb | 10 ++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app/views/teacher_mailer/consent_submitted.text.erb b/app/views/teacher_mailer/consent_submitted.text.erb index 83ecf674c1..1cd6dbf23c 100644 --- a/app/views/teacher_mailer/consent_submitted.text.erb +++ b/app/views/teacher_mailer/consent_submitted.text.erb @@ -1,14 +1,16 @@ Dear <%= application_form_full_name(@application_form) %>, -Thank you for submitting the consent documents required to progress your QTS application. +Thank you for submitting the consent documents we requested from you. We can now progress your QTS application. <%= render "shared/teacher_mailer/reference_number" %> ## What happens next? -Once an assessor has checked the documents to make sure you’ve provided the required information, they’ll continue reviewing your application. +A trained assessor will continue to assess your application. They will check all the information you have submitted. Some information may need verification by third parties. -If no further information is needed, we’ll contact you with a final QTS application decision once all checks and verifications have been completed. +If we need more information, we will email you. You do not need to contact us. + +You will get a decision about your QTS application when the assessment and all verifications have been completed. We will not be able to give individual updates on the status of your application while it is being assessed. <%= render "shared/teacher_mailer/any_questions_contact" %> diff --git a/app/views/teacher_mailer/further_information_received.text.erb b/app/views/teacher_mailer/further_information_received.text.erb index b90e2f7bfd..73cbd4231f 100644 --- a/app/views/teacher_mailer/further_information_received.text.erb +++ b/app/views/teacher_mailer/further_information_received.text.erb @@ -1,10 +1,16 @@ Dear <%= application_form_full_name(@application_form) %>, -Thank you for sending the information we recently requested from you. The assessor will now continue reviewing your application. +Thank you for sending the information we requested from you. We can now progress your QTS application. + +<%= render "shared/teacher_mailer/reference_number" %> # What happens next -We will contact you with a decision about your QTS application when the assessment and all verifications have been completed. This can take several weeks. +A trained assessor will continue to assess your application. They will check all the information you have submitted. Some information may need verification by third parties. + +If we need more information, we will email you. You do not need to contact us. + +You will get a decision about your QTS application when the assessment and all verifications have been completed. We will not be able to give individual updates on the status of your application while it is being assessed. <%= render "shared/teacher_mailer/any_questions_contact" %> From 30f88144868087cf53d374ade8b4abca622b5e1b Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 09:32:33 +0100 Subject: [PATCH 2/6] Updated email title --- config/locales/mailer.en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/mailer.en.yml b/config/locales/mailer.en.yml index 9df77c7f2f..78371cc9a1 100644 --- a/config/locales/mailer.en.yml +++ b/config/locales/mailer.en.yml @@ -27,7 +27,7 @@ en: consent_requested: subject: We need your written consent to progress your QTS application consent_submitted: - subject: We’ve received your consent documents + subject: "Your QTS application: consent documents received" further_information_received: subject: "Your QTS application: information received" further_information_requested: From 958f5db34958269a085c11f7a074f35380b9610c Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 09:43:53 +0100 Subject: [PATCH 3/6] Updated spec file --- spec/mailers/teacher_mailer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mailers/teacher_mailer_spec.rb b/spec/mailers/teacher_mailer_spec.rb index 15dd2210ac..91a3499c9f 100644 --- a/spec/mailers/teacher_mailer_spec.rb +++ b/spec/mailers/teacher_mailer_spec.rb @@ -354,7 +354,7 @@ describe "#subject" do subject { mail.subject } - it { is_expected.to eq("We’ve received your consent documents") } + it { is_expected.to eq("Your QTS application: consent documents received") } end describe "#to" do From 63765ecf80c1aad3bb50462aa2255f29741fe572 Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 09:49:34 +0100 Subject: [PATCH 4/6] Fixed linting --- spec/mailers/teacher_mailer_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/mailers/teacher_mailer_spec.rb b/spec/mailers/teacher_mailer_spec.rb index 91a3499c9f..2f6728af11 100644 --- a/spec/mailers/teacher_mailer_spec.rb +++ b/spec/mailers/teacher_mailer_spec.rb @@ -354,7 +354,9 @@ describe "#subject" do subject { mail.subject } - it { is_expected.to eq("Your QTS application: consent documents received") } + it do + is_expected.to eq("Your QTS application: consent documents received") + end end describe "#to" do From 5fcd43ec2bd0fa76695e034486dd84a2aeaba925 Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 10:01:03 +0100 Subject: [PATCH 5/6] Fixed linting --- spec/mailers/teacher_mailer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mailers/teacher_mailer_spec.rb b/spec/mailers/teacher_mailer_spec.rb index 2f6728af11..f9a9225452 100644 --- a/spec/mailers/teacher_mailer_spec.rb +++ b/spec/mailers/teacher_mailer_spec.rb @@ -355,7 +355,7 @@ subject { mail.subject } it do - is_expected.to eq("Your QTS application: consent documents received") + expect(subject).to eq("Your QTS application: consent documents received") end end From 2d24f87564620a105a586a0260b2244b8fb2ab06 Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Mon, 21 Oct 2024 10:28:14 +0100 Subject: [PATCH 6/6] Fixed linting --- spec/mailers/teacher_mailer_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/mailers/teacher_mailer_spec.rb b/spec/mailers/teacher_mailer_spec.rb index f9a9225452..37818d83aa 100644 --- a/spec/mailers/teacher_mailer_spec.rb +++ b/spec/mailers/teacher_mailer_spec.rb @@ -355,7 +355,9 @@ subject { mail.subject } it do - expect(subject).to eq("Your QTS application: consent documents received") + expect(subject).to eq( + "Your QTS application: consent documents received", + ) end end