diff --git a/templates/emails/layout.html.twig b/templates/emails/layout.html.twig new file mode 100644 index 0000000..4f4cb32 --- /dev/null +++ b/templates/emails/layout.html.twig @@ -0,0 +1,33 @@ + + +
+ + +| + + | +
- Please confirm your email address by clicking the following link:
- Confirm my Email.
- This link will expire in {{ expiresAtMessageKey|trans(expiresAtMessageData, 'VerifyEmailBundle') }}.
- If the link has expired or doesn't work, you can request a new one.
-
- Cheers! -
+{% block content %} ++ Thanks for signing up. Please confirm your email address by clicking the button below. + This link will expire in {{ expiresAtMessageKey|trans(expiresAtMessageData, 'VerifyEmailBundle') }}. +
+ +| + + Confirm my email + + | +
+ If the button doesn't work, copy and paste this link into your browser:
+ {{ signedUrl }}
+
+ If the link has expired or doesn't work, you can + request a new one. +
+ +Cheers!
+{% endblock %} diff --git a/templates/tech/reset_password/email.html.twig b/templates/tech/reset_password/email.html.twig index 824a218..c6b9b27 100644 --- a/templates/tech/reset_password/email.html.twig +++ b/templates/tech/reset_password/email.html.twig @@ -1,9 +1,31 @@ -To reset your password, please visit the following link
+{% block title %}Reset your password{% endblock %} -{{ url('app_reset_password', {token: resetToken.token}) }} +{% block content %} +This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}.
++ We received a request to reset your password. Click the button below to choose a new one. + This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}. +
-Cheers!
+| + + Reset my password + + | +
+ If the button doesn't work, copy and paste this link into your browser:
+ {{ url('app_reset_password', {token: resetToken.token}) }}
+
If you didn't request a password reset, you can safely ignore this email.
+ +Cheers!
+{% endblock %}