]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/mail/register.html.twig
Enable contact captcha
[airbundle] / Resources / views / mail / register.html.twig
index 0659b9f3eef9fbfea134a7202d8bd24e03e768ef..7b293fc2211324dc4855af4bf41aa80a92b3ae3a 100644 (file)
@@ -1,13 +1,12 @@
-{% extends '@RapsysAir/mail/body.html.twig' %}
-{% block title %}{{ subject }}{% endblock %}
+{% extends '@RapsysAir/mail/base.html.twig' %}
 {% block content %}
        <table class="content">
                <tr>
                        <td>&nbsp;</td>
                        <td>
 {% block content %}
        <table class="content">
                <tr>
                        <td>&nbsp;</td>
                        <td>
-                               <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
+                               <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>
                                <h3>{% if recipient_name %}{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}{% else %}{% trans %}Hi,{% endtrans %}{% endif %}</h3>
-                               <p>{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
+                               <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>
                                <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>