]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix image path in 2-factor authentification email
authorBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>
Wed, 18 May 2016 19:18:41 +0000 (21:18 +0200)
committerBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>
Wed, 18 May 2016 19:18:41 +0000 (21:18 +0200)
Fix the broken url to image ressource hosted on wallabag.org

src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig

index c44fcfb774f128f5001190f3aa36b9b7b631316f..0730fb988352338a3b1f86b42d16917909e0404b 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="{{ wallabag_url }}/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={{ 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; padding-left: 0;" valign="top" id="cell_desc">
                             <h1>wallabag</h1>
                             <h5>{{ "auth_code.on"|trans({}, 'wallabag_user') }} {{ wallabag_url }}</h5>