mirror of
https://github.com/discourse/discourse.git
synced 2025-05-18 01:23:04 +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}}
|
{{/if}}
|
||||||
</td>
|
</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>{{l.email_type}}</td>
|
||||||
<td class='post-link'>
|
<td class='post-link'>
|
||||||
{{#if l.post_url}}
|
{{#if l.post_url}}
|
||||||
|
@ -12,6 +12,7 @@ export function iconHTML(icon, params) {
|
|||||||
params = params || {};
|
params = params || {};
|
||||||
|
|
||||||
var html = "<i class='" + iconClasses(icon, params) + "'";
|
var html = "<i class='" + iconClasses(icon, params) + "'";
|
||||||
|
if (params.title) { html += ` title='${I18n.t(params.title)}'`; }
|
||||||
if (params.label) { html += " aria-hidden='true'"; }
|
if (params.label) { html += " aria-hidden='true'"; }
|
||||||
html += "></i>";
|
html += "></i>";
|
||||||
if (params.label) {
|
if (params.label) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user