]> Raphaƫl G. Git Repositories - userbundle/blob - templates/mail/register.html.twig
Add site and title to translated strings
[userbundle] / templates / mail / register.html.twig
1 {% trans_default_domain 'rapsysuser' %}
2 {% extends '@RapsysUser/mail/_base.html.twig' %}
3 {% block content %}
4 <table class="content">
5 <tr>
6 <td>&nbsp;</td>
7 <td>
8 <h2>{{ subject }}</h2>
9 <h3>{% if recipient_name %}{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}{% else %}{% trans %}Hi,{% endtrans %}{% endif %}</h3>
10 <p>{{ 'Thanks so much for joining %site%:'|trans({'%site%': site}) }}</p>
11 <p><a href="{{ home_url|escape('html_attr') }}" class="link">{{ home_url }}</a></p>
12 <p>{% trans %}To create your account you must follow this link:{% endtrans %}</p>
13 <p><a href="{{ confirm_url|escape('html_attr') }}" class="link">{{ confirm_url }}</a></p>
14 </td>
15 <td>&nbsp;</td>
16 </tr>
17 </table>
18 {% endblock %}