mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:40:01 +08:00
add icon next to bounced emails in the sent email logs
This commit is contained in:
parent
b7e29eebe5
commit
7beea0493e
|
@ -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}}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user