Skip to content

Commit

Permalink
suggested changes made
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed May 31, 2024
1 parent 0b85f1a commit 88719ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/mailers/teacher_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def application_not_submitted
def application_received
subject =
if @application_form.teaching_authority_provides_written_statement
I18n.t("mailer.teacher.application_received.subject.true")
I18n.t("mailer.teacher.application_received.subject.without_document")
else
I18n.t(
"mailer.teacher.application_received.subject.false",
"mailer.teacher.application_received.subject.awaiting_document",
certificate: region_certificate_name(region),
)
end
Expand Down
4 changes: 1 addition & 3 deletions app/views/teachers/mailer/magic_link.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ Welcome back to apply for qualified teacher status (QTS) in England. Use the lin

Please note, this link will expire in <%= Devise.passwordless_login_within.inspect %>. After that time, you will need to [return to the service](<%= create_or_new_teacher_session_url %>) and request another confirmation link.

Kind regards,

The Teacher Qualifications Team
<%= render "shared/teacher_mailer/footer" %>
4 changes: 2 additions & 2 deletions config/locales/mailer.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ en:
1: Your draft QTS application is about to be deleted
application_received:
subject:
true: Your QTS application has been received
false: "Your QTS application: Awaiting %{certificate}"
without_document: Your QTS application has been received
awaiting_document: "Your QTS application: Awaiting %{certificate}"
consent_reminder:
subject: "Reminder: we need your written consent to progress your QTS application"
consent_requested:
Expand Down

0 comments on commit 88719ab

Please sign in to comment.