X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/ee387d422d9fcd0b98198714d84aea7a0957ad84..484e99987490d5b250841f3a04e38bd6ee46c3ad:/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 7497c6e..fa82217 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 %site.title%'|trans({'%site.title%': site.title})|raw}) }}+{% 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 %} + |