]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename body template in base
authorRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 14:06:52 +0000 (15:06 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 14:06:52 +0000 (15:06 +0100)
Resources/views/mail/base.html.twig [moved from Resources/views/mail/body.html.twig with 80% similarity]

similarity index 80%
rename from Resources/views/mail/body.html.twig
rename to Resources/views/mail/base.html.twig
index 85bf9e3218ef7128cec0754df68fc847882f721e..ef4bad1a7bc93deca25ebc6b036092515c98e05c 100644 (file)
@@ -1,5 +1,5 @@
 {% extends '@RapsysAir/base.html.twig' %}
-{% block stylesheets %}
+{% block stylesheet %}
        <meta name="viewport" content="width=device-width" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        {% if locale is defined and locale %}<meta http-equiv="Content-Language" content="{{ locale }}" />{% endif %}
@@ -20,8 +20,8 @@
 {% block body %}
        <table class="header">
                <tr>
-                       <td><a href="{{ site.url|escape('html_attr') }}"><img src="{{ email.image(site.logo.png) }}" 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="{{ root|escape('html_attr') }}"><img src="{{ email.image(logo.png) }}" alt="{{ title.site|escape('html_attr') }}" /></a></td>
+                       <td><h1><a href="{{ root|escape('html_attr') }}">{{ title.site }}</a></h1></td>
                </tr>
        </table>
         {% block content %}{% endblock %}