From 5f736213af209b0457e4e9d62f06fd5f46652f5f Mon Sep 17 00:00:00 2001 From: Alexandr Danilov Date: Tue, 19 Jan 2016 18:22:59 +0300 Subject: #1490 HTML in E-Mails --- .../views/TwoFactor/email_auth_code.html.twig | 100 ++++++++++++++++++++- 1 file changed, 97 insertions(+), 3 deletions(-) diff --git a/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig b/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig index b726d142..849cd136 100644 --- a/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig @@ -3,11 +3,105 @@ {% endblock %} {% block body_html %} -

{{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }}

+ -

{{ "auth_code.mailer.body.content"|trans({'%code%': code}, 'wallabag_user') }}

+ + + + + {{ "auth_code.mailer.subject"|trans({}, 'wallabag_user') }} + + + + + +
+ {{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }} +
+ + + + + +
+ + + + + + + + + + + + + + +
logo +

Wallabag

+
{% trans %}on{% endtrans %} { wallabag_url }
+
 
+ +

{{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }}

+ +

{{ "auth_code.mailer.body.content"|trans({'%code%': code}, 'wallabag_user') }}

+ +

{{ "auth_code.mailer.body.signature"|trans({'%support%': support}, 'wallabag_user') }}

+ +
 
+ + + + + + +
{ wallabag_url }Powered by Wallabag
+ +
+ +
+ + + {% endblock %} {% block body_text %} -- cgit v1.2.3