X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/ee387d422d9fcd0b98198714d84aea7a0957ad84..e56d9922368297af5e6f01932c6640907717c41b:/Resources/views/mail/body.html.twig?ds=sidebyside

diff --git a/Resources/views/mail/body.html.twig b/Resources/views/mail/body.html.twig
index 6e580ea..85bf9e3 100644
--- a/Resources/views/mail/body.html.twig
+++ b/Resources/views/mail/body.html.twig
@@ -2,10 +2,13 @@
 {% block stylesheets %}
 	<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 %}
 	<style type="text/css">
 		body {background:white;color:#066}
 		a {text-decoration:none;color:#066}
 		a:hover {text-decoration:underline}
+		a.link {word-break:break-all;font-size:1.5rem}
+		h1 {margin: .5rem;font-size: 2rem}
 		table {width: 100%;border-radius: .5rem}
 		table.header {border:.1rem solid #00c3f9;text-align:center}
 		table.content {background:white;border:.1rem solid #00c3f9;margin:.5rem 0}
@@ -17,14 +20,14 @@
 {% 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.png) }}" 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 }} - {{ copy_short }}</td>
+			<td>{{ copy.long }} - {{ copy.short }}</td>
 		</tr>
 	</table>
 {% endblock %}