Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the offer email to include "mandatory checks" information #9859

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions app/views/candidate_mailer/new_offer_made.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ Congratulations! You have an offer from <%= @provider_name %> to study <%= @cour
- <%= condition.text %>
<% end %>

Contact <%= @provider_name %> if you have any questions about this.

<% if @show_deadline_reminder %>
If you want to accept this offer, you must do so by <%= I18n.l(CycleTimetable.decline_by_default_date.to_date, format: :no_year) %>. If you have not responded by then, the offer will be automatically declined on your behalf.
<% end %>

You will have to pass essential checks before you can start your training.

These are:
- An enhanced disclosure and barring service (DBS) check. This is a criminal records check to make sure it is safe for you to work with children. If you are from outside of the UK and Ireland then the training provider will request a criminal records check from your home country.
- A fitness to train to teach check. These are questions to check your ability to meet teaching standards, both physically and mentally.
gms-gs marked this conversation as resolved.
Show resolved Hide resolved

The training provider will usually pay for the criminal records checks.

Contact <%= @provider_name %> if you have any questions about this.

[Sign into your account to respond to your offer](<%= candidate_magic_link(@application_form.candidate) %>).
4 changes: 3 additions & 1 deletion spec/mailers/candidate_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,9 @@
)]
end

it 'renders deadline reminder text' do
it 'renders essential checks and deadline reminder text' do
expect(email.body).to include 'An enhanced disclosure and barring service (DBS) check. This is a criminal records check to make sure it is safe for you to work with children. If you are from outside of the UK and Ireland then the training provider will request a criminal records check from your home country.'
expect(email.body).to include 'A fitness to train to teach check. These are questions to check your ability to meet teaching standards, both physically and mentally.'
expect(email.body).to include "If you want to accept this offer, you must do so by #{I18n.l(CycleTimetable.decline_by_default_date.to_date, format: :no_year)}. If you have not responded by then, the offer will be automatically declined on your behalf."
end
end
Expand Down
Loading