Merge pull request #2674 from wallabag/fix-404img-2FA

Fixed 404 for wallabag logo in 2FA
This commit is contained in:
Nicolas Lœuillet 2016-12-01 13:35:55 +01:00 committed by GitHub
commit 075e1d75e2
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
auth_code: auth_code:
on: 'on' on: 'on'
mailer: mailer:
subject: 'Wallabag authentication Code' subject: 'wallabag authentication code'
body: body:
hello: "Hi %user%," 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." 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."

View file

@ -74,7 +74,7 @@
<table cellpadding="0" cellspacing="0" border="0" align="center" id="card"> <table cellpadding="0" cellspacing="0" border="0" align="center" id="card">
<tr> <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"> <td style="padding: 20px; padding-left: 0;" valign="top" id="cell_desc">
<h1>wallabag</h1> <h1>wallabag</h1>
<h5>{{ "auth_code.on"|trans({}, 'wallabag_user') }} {{ wallabag_url }}</h5> <h5>{{ "auth_code.on"|trans({}, 'wallabag_user') }} {{ wallabag_url }}</h5>