]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/mail/recover_mail.html.twig
Use getObject event args member function instead of deprecated getEntity
[airbundle] / Resources / views / mail / recover_mail.html.twig
index 511b8ccb061a8b77f7b0085d9b28194d48cc7508..4082be81a5a890f5305ecc658e8f3bd67d854e7c 100644 (file)
@@ -1,12 +1,12 @@
-{% extends '@RapsysAir/mail/body.html.twig' %}
+{% extends '@RapsysAir/mail/base.html.twig' %}
 {% block title %}{{ subject }}{% endblock %}
 {% block content %}
        <table class="content">
                <tr>
                        <td>&nbsp;</td>
                        <td>
-                               <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site_title%'|trans({'%site_title%': site_title})|raw}) }}</h2>
-                               <p>{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title}) }}</p>
+                               <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
+                               <p>{{ 'Thanks so much for rejoining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
                                <p>{{ 'Your account password has been changed, to recover your account you can follow this link: '|trans }}</p>
                                <p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
                        </td>