Back to Frontend

SubscriptionResultFooter.Scala

common/app/views/fragments/email/signup/footer/subscriptionResultFooter.scala.html

latest734 B
Original Source

@import model.{InvalidEmail, OtherError, Subscribed, SubscriptionResult} @(result: SubscriptionResult)

@result match { case Subscribed => { @fragments.inlineSvg("mail", "icon")

We've sent you an email!

Open up the email and click the verify button to confirm your email address.

You'll then start receiving the daily email.

} case InvalidEmail => { @fragments.inlineSvg("cross", "icon")

Invalid email address

Sorry, we couldn't verify that email address. Please try again or contact userhelp@@theguardian.com.

} case OtherError => { @fragments.inlineSvg("cross", "icon")

Subscription error

Sorry, there was a problem with your subscription request. Please try again or contact userhelp@@theguardian.com.

} }