]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/mail/body.html.twig
Adapt template to new context tree
[airbundle] / Resources / views / mail / body.html.twig
index 6e580ea373260493dbcadff3ee771c94c7a7e210..89d84350bd72fdb638d6e5730b1668ed376c9f82 100644 (file)
 {% block body %}
        <table class="header">
                <tr>
 {% block body %}
        <table class="header">
                <tr>
-                       <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>
+                       <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 }} - {{ copy_short }}</td>
+                       <td>{{ copy.long }} - {{ copy.short }}</td>
                </tr>
        </table>
 {% endblock %}
                </tr>
        </table>
 {% endblock %}