add icon next to bounced emails in the sent email logs

This commit is contained in:
Régis Hanol 2016-05-23 22:50:18 +02:00
parent b7e29eebe5
commit 7beea0493e
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,10 @@
—
{{/if}}
</td>
<td><a href='mailto:{{unbound l.to_address}}'>{{l.to_address}}</a></td>
<td>
{{#if l.bounced}}{{fa-icon "repeat" title="admin.email.bounced"}}{{/if}}
<a href='mailto:{{unbound l.to_address}}'>{{l.to_address}}</a>
</td>
<td>{{l.email_type}}</td>
<td class='post-link'>
{{#if l.post_url}}

View File

@ -12,6 +12,7 @@ export function iconHTML(icon, params) {
params = params || {};
var html = "<i class='" + iconClasses(icon, params) + "'";
if (params.title) { html += ` title='${I18n.t(params.title)}'`; }
if (params.label) { html += " aria-hidden='true'"; }
html += "></i>";
if (params.label) {