]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fixed 404 for wallabag logo in 2FA 2674/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 1 Dec 2016 09:51:04 +0000 (10:51 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 1 Dec 2016 09:51:04 +0000 (10:51 +0100)
src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml
src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig

index 85f2ea9cc5fdf7769dd848a54d2afc02fd850ab2..ee0a27d57af9cf5e9d436a3dcf8ac7614ea9abaf 100644 (file)
@@ -2,7 +2,7 @@
 auth_code:
     on: 'on'
     mailer:
-        subject: 'Wallabag authentication Code'
+        subject: 'wallabag authentication code'
         body:
             hello: "Hi %user%,"
             first_para: "Since you enable two factor authentication on your wallabag account and you just logged in from a new device (computer, phone, etc.), we send you a code to validate your connection."
index 3731f13b5cbc1df688e005632290e4827fdd53ef..5d1f22b7945469ab44ba1beba0c5c2c6acb775c4 100644 (file)
@@ -74,7 +74,7 @@
 
                 <table cellpadding="0" cellspacing="0" border="0" align="center" id="card">
                     <tr>
-                        <td style="padding: 20px;" width="96px" valign="top"><img class="image_fix" src="{{ asset('bundles/wallabagcore/themes/material/img/logo-other_themes.png') }}" alt="logo" title="{{ wallabag_url }}" style="width: 96px; height: 96px;" /></td>
+                        <td style="padding: 20px;" width="96px" valign="top"><img class="image_fix" src="{{ absolute_url(asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png')) }}" alt="logo" title="{{ wallabag_url }}" style="width: 96px; height: 96px;" /></td>
                         <td style="padding: 20px; padding-left: 0;" valign="top" id="cell_desc">
                             <h1>wallabag</h1>
                             <h5>{{ "auth_code.on"|trans({}, 'wallabag_user') }} {{ wallabag_url }}</h5>