]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/mail/body.html.twig
Switch to new form naming
[airbundle] / Resources / views / mail / body.html.twig
index fd32b8b0833a14b1b4022424ac2e23b10f8c372b..89d84350bd72fdb638d6e5730b1668ed376c9f82 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 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>
 {% 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>
                </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 %}
                </tr>
        </table>
 {% endblock %}