From: Raphaƫl Gertz Date: Mon, 11 Dec 2023 06:00:53 +0000 (+0100) Subject: Add recover mail template X-Git-Tag: 0.2~26 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/b881ad790b1c50fdff160b5d1d51a72ab68c24d5 Add recover mail template --- diff --git a/Resources/views/mail/recover.html.twig b/Resources/views/mail/recover.html.twig new file mode 100644 index 0000000..3e7a954 --- /dev/null +++ b/Resources/views/mail/recover.html.twig @@ -0,0 +1,14 @@ +{% extends '@RapsysBlog/mail/_base.html.twig' %} +{% block content %} + + + +

{{ 'Welcome back to %head.site%'|trans({'%head.site%': head.site}) }}

+

{% if recipient_name %}{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}{% else %}{% trans %}Hi,{% endtrans %}{% endif %}

+

{{ 'Thanks so much for rejoining %head.site%, the blog program.'|trans({'%head.site%': head.site}) }}

+

{% trans %}To recover your account follow this link:{% endtrans %}

+

{{ recover_url }}

+ + + +{% endblock %} diff --git a/Resources/views/mail/recover.text.twig b/Resources/views/mail/recover.text.twig new file mode 100644 index 0000000..76f33e0 --- /dev/null +++ b/Resources/views/mail/recover.text.twig @@ -0,0 +1,12 @@ +{{ subject }} +{% for i in range(1, subject|length) %}={% endfor %} + + +*{{ 'Thanks so much for rejoining %head.site%, the blog program.'|trans({'%head.site%': head.site}) }}* + +{% trans %}To recover your account follow this link:{% endtrans %} +{{ recover_url }} + +-- + +{{ copy.long }} - {{ copy.short }}