]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/mail/body.html.twig
Fix configuration to match new naming of PathPackage in PackPackage
[airbundle] / Resources / views / mail / body.html.twig
index fd32b8b0833a14b1b4022424ac2e23b10f8c372b..6e580ea373260493dbcadff3ee771c94c7a7e210 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/mail/base.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block stylesheets %}
        <meta name="viewport" content="width=device-width" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 {% block body %}
        <table class="header">
                <tr>
-                       <td><a href="{{ site_url }}"><img src="{{ email.image(site_logo) }}" alt="{{ site_title|trans }}" /></a></td>
-                       <td><h1><a href="{{ site_url }}">{{ site_title|trans }}</a></h1></td>
+                       <td><a href="{{ site_url|escape('html_attr') }}"><img src="{{ email.image(site_logo) }}" alt="{{ site_title|escape('html_attr') }}" /></a></td>
+                       <td><h1><a href="{{ site_url|escape('html_attr') }}">{{ site_title }}</a></h1></td>
                </tr>
        </table>
         {% block content %}{% endblock %}
        <table class="footer">
                <tr>
-                       <td>{{ copy_long|trans }} - {{ copy_short|trans }}</td>
+                       <td>{{ copy_long }} - {{ copy_short }}</td>
                </tr>
        </table>
 {% endblock %}