X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/91aff369a60d88afc7d4f74114daf56a7d0bf1e7..5115a7f6346eeb955beba29ae356fac935e87da7:/Resources/views/mail/register.html.twig diff --git a/Resources/views/mail/register.html.twig b/Resources/views/mail/register.html.twig index c01c1a7..0659b9f 100644 --- a/Resources/views/mail/register.html.twig +++ b/Resources/views/mail/register.html.twig @@ -6,8 +6,10 @@  

{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}

-

{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}

+

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

{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}

+

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

+

{{ confirm_url }}