X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/91aff369a60d88afc7d4f74114daf56a7d0bf1e7..58883dd276b37950932fff7bc166b95404f7b4ca:/Resources/views/mail/register.html.twig?ds=sidebyside diff --git a/Resources/views/mail/register.html.twig b/Resources/views/mail/register.html.twig index c01c1a7..7b293fc 100644 --- a/Resources/views/mail/register.html.twig +++ b/Resources/views/mail/register.html.twig @@ -1,13 +1,14 @@ -{% extends '@RapsysAir/mail/body.html.twig' %} -{% block title %}{{ subject }}{% endblock %} +{% extends '@RapsysAir/mail/base.html.twig' %} {% block content %}
- {{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}-{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}-{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }} +{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %title.site%'|trans({'%title.site%': title.site})|raw}) }}+{% if recipient_name %}{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}{% else %}{% trans %}Hi,{% endtrans %}{% endif %}+{{ 'Thanks so much for joining %title.site%, the space reservation program.'|trans({'%title.site%': title.site}) }} +{% trans %}To create your account you must follow this link:{% endtrans %} + |