Skip to content

Commit

Permalink
CIR-1729: Tweak the subject and from text (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaleem-ee authored Jan 14, 2025
1 parent ca43a14 commit 80b16a6
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,23 @@ import uk.gov.hmrc.hmrcemailrenderer.templates.ServiceIdentifier.CIPInsightsAndR

object CirTemplates {

private val fromAddress: String = FromAddress.noReply("HMRC Email Verification service")

val templates = Seq(
MessageTemplate.create(
templateId = "cir_email_verification_code",
fromAddress = FromAddress.noReply("CIP Insights and Reputation"),
fromAddress = fromAddress,
service = CIPInsightsAndReputation,
subject = "Your email confirmation code",
subject = "Your email verification code",
plainTemplate = txt.EmailVerification.f,
htmlTemplate = html.EmailVerification.f,
priority = Some(MessagePriority.Urgent)
),
MessageTemplate.create(
templateId = "cir_email_verification_code_welsh",
fromAddress = FromAddress.noReply("CIP Insights and Reputation"),
fromAddress = fromAddress,
service = CIPInsightsAndReputation,
subject = "Eich cod gwirio e-bost",
subject = "Eich cod dilysu e-bost",
plainTemplate = txt.EmailVerificationWelsh.f,
htmlTemplate = html.EmailVerificationWelsh.f,
priority = Some(MessagePriority.Urgent)
Expand Down

0 comments on commit 80b16a6

Please sign in to comment.