From 23ff8d36199c0cddb5bae4a5010cb71f861eeef8 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 29 Dec 2015 09:59:46 +0100 Subject: Add custom email for 2FA Related #1490 --- .../Resources/views/themes/baggy/Config/index.html.twig | 8 ++++++++ .../Resources/views/themes/material/Config/index.html.twig | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'src/Wallabag/CoreBundle/Resources') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index cc797c63..d9850f7a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -40,6 +40,10 @@ {{ form_start(form.rss) }} {{ form_errors(form.rss) }} +
+ {% trans %}RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader.{% endtrans %} +
+
@@ -101,6 +105,10 @@
{% if twofactor_auth %} +
+ {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %} +
+
{{ form_label(form.user.twoFactorAuthentication) }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index d060311d..8743dc1d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -131,6 +131,12 @@
{% if twofactor_auth %} +
+
+ {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %} +
+
+
{{ form_widget(form.user.twoFactorAuthentication) }} -- cgit v1.2.3