X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/ee387d422d9fcd0b98198714d84aea7a0957ad84..0f09ede543b60204768e54f05d4fff0f39e7e57c:/Resources/views/mail/register.html.twig diff --git a/Resources/views/mail/register.html.twig b/Resources/views/mail/register.html.twig index 7497c6e..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 %} <table class="content"> <tr> <td> </td> <td> - <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site_title%'|trans({'%site_title%': site_title})|raw}) }}</h2> - <h3>{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}</h3> - <p>{{ 'Thanks so much for joining %site_title%, the space reservation program.'|trans({'%site_title%': site_title}) }}</p> + <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %title.site%'|trans({'%title.site%': title.site})|raw}) }}</h2> + <h3>{% if recipient_name %}{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}{% else %}{% trans %}Hi,{% endtrans %}{% endif %}</h3> + <p>{{ 'Thanks so much for joining %title.site%, the space reservation program.'|trans({'%title.site%': title.site}) }}</p> + <p>{% trans %}To create your account you must follow this link:{% endtrans %}</p> + <p><a href="{{ confirm_url|escape('html_attr') }}" class="link">{{ confirm_url }}</a></p> </td> <td> </td> </tr>