From: Raphaƫl Gertz Date: Mon, 11 Dec 2023 06:01:44 +0000 (+0100) Subject: Add register mail template X-Git-Tag: 0.2~25 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/blogbundle/commitdiff_plain/8121e8a456951e715d368c7ae2a74e658e8bfd58 Add register mail template --- diff --git a/Resources/views/mail/register.html.twig b/Resources/views/mail/register.html.twig new file mode 100644 index 0000000..390dde4 --- /dev/null +++ b/Resources/views/mail/register.html.twig @@ -0,0 +1,14 @@ +{% extends '@RapsysBlog/mail/_base.html.twig' %} +{% block content %} + + + +

{{ 'Welcome 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 joining %head.site%, the blog program.'|trans({'%head.site%': head.site}) }}

+

{% trans %}To create your account you must follow this link:{% endtrans %}

+

{{ confirm_url }}

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