Skip to content

Commit

Permalink
Make email addresses links
Browse files Browse the repository at this point in the history
This ensures that any email addresses in mailer views are rendered as
clickable links.
  • Loading branch information
thomasleese committed Nov 16, 2023
1 parent 1e12586 commit fa24044
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
If you have any questions, contact: <%= t("service.email.enquiries") %>
If you have any questions, contact: [<%= t("service.email.enquiries") %>](mailto:<%= t("service.email.enquiries") %>)
2 changes: 1 addition & 1 deletion app/views/teacher_mailer/application_declined.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you would like to request a decision review, you’ll need to provide:
- formal evidence and reasoning as to how you meet the required assessment criteria
- additional information not included in your original application that would support your decision review

Your request for review must be received within 28 days of receipt of the decision to decline QTS. Email your request for review, including the information required as above, to <%= t("service.email.enquiries") %>.
Your request for review must be received within 28 days of receipt of the decision to decline QTS. Email your request for review, including the information required as above, to [<%= t("service.email.enquiries") %>](mailto:<%= t("service.email.enquiries") %>).

If you are not satisfied with the outcome of the decision review, you can request a final formal appeal to a senior Teacher Qualification Manager.

Expand Down
2 changes: 1 addition & 1 deletion app/views/teacher_mailer/initial_checks_passed.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Dear <%= application_form_full_name(@application_form) %>

<%= render "shared/teacher_mailer/reference_number" %>

You should now request your <%= region_certificate_name(@application_form.region) %> from <%= region_teaching_authority_name(@application_form.region) %>. Contact them directly and instruct them to send the document to <%= t("service.email.verification") %>.
You should now request your <%= region_certificate_name(@application_form.region) %> from <%= region_teaching_authority_name(@application_form.region) %>. Contact them directly and instruct them to send the document to [<%= t("service.email.verification") %>](mailto:<%= t("service.email.verification") %>).

Once we receive the document, we’ll begin the full assessment of your application.

Expand Down
2 changes: 1 addition & 1 deletion app/views/teacher_mailer/references_requested.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ They need to respond by <%= @reference_requests.first.expires_at.to_date.to_fs(:

Contact them to make sure they have received the request. They may need to check their junk email folder.

If they have not received the request, email [email protected]
If they have not received the request, email [<%= t("service.email.enquiries") %>](mailto:<%= t("service.email.enquiries") %>).

<%= render "shared/teacher_mailer/footer" %>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ They’ve told us that they’re qualified to teach children <%= @application_fo

We’d be grateful if you could provide written evidence of their professional standing as a teacher in <%= CountryName.from_region(@region, with_definite_article: true) %>, and email it to us at:

<%= t("service.email.verification") %>
[<%= t("service.email.verification") %>](mailto:<%= t("service.email.verification") %>)

Please include their QTS application reference number <%= @application_form.reference %>.

Expand Down
2 changes: 1 addition & 1 deletion spec/mailers/teaching_authority_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
We’d be grateful if you could provide written evidence of their professional standing as a teacher in Region Name, and email it to us at:
[email protected]
[[email protected]](mailto:[email protected])
Please include their QTS application reference number abc.
Expand Down

0 comments on commit fa24044

Please sign in to comment.