X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FUserBundle%2FResources%2Fviews%2FTwoFactor%2Femail_auth_code.html.twig;h=69d231600e7acb7d26c543ebe171e19f6a898ac4;hb=refs%2Fpull%2F1565%2Fhead;hp=849cd1364317c29e2a21bc593f821c52e5bf7b4e;hpb=5f736213af209b0457e4e9d62f06fd5f46652f5f;p=github%2Fwallabag%2Fwallabag.git
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 849cd136..69d23160 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
@@ -2,6 +2,17 @@
{{ "auth_code.mailer.subject"|trans({}, 'wallabag_user') }}
{% endblock %}
+{% block body_text %}
+{{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }}
+
+{{ "auth_code.mailer.body.first_para"|trans({}, 'wallabag_user') }}
+{{ "auth_code.mailer.body.second_para"|trans({}, 'wallabag_user') }} {{ code }}
+
+{{ "auth_code.mailer.body.support"|trans({}, 'wallabag_user') }} {{ support_url }}
+
+{{ "auth_code.mailer.body.signature"|trans({}, 'wallabag_user') }}
+{% endblock %}
+
{% block body_html %}
@@ -63,10 +74,10 @@
- ![{ wallabag_url } logo]({ wallabag_url }/themes/material/img/logo-other_themes.png) |
+ ![{{ wallabag_url }} logo]({{ wallabag_url }}/themes/material/img/logo-other_themes.png) |
- Wallabag
- {% trans %}on{% endtrans %} { wallabag_url }
+ wallabag
+ {% trans %}on{% endtrans %} {{ wallabag_url }}
|
|
@@ -75,10 +86,11 @@
{{ "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') }}
+ {{ "auth_code.mailer.body.first_para"|trans({}, 'wallabag_user') }}
+ {{ "auth_code.mailer.body.second_para"|trans({}, 'wallabag_user') }} {{ code }}
+ {{ "auth_code.mailer.body.support"|trans({}, 'wallabag_user') }} {{ support_url }}
+ {{ "auth_code.mailer.body.signature"|trans({}, 'wallabag_user') }}
|
@@ -87,8 +99,8 @@
@@ -103,10 +115,3 @@