mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
32 lines
838 B
Handlebars
32 lines
838 B
Handlebars
<table class='table'>
|
|
<thead>
|
|
<tr>
|
|
<th>{{i18n admin.email.sent_at}}</th>
|
|
<th>{{i18n admin.email.user}}</th>
|
|
<th>{{i18n admin.email.to_address}}</th>
|
|
<th>{{i18n admin.email.email_type}}</th>
|
|
<th>{{i18n admin.email.reply_key}}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
{{#if model.length}}
|
|
{{#groupedEach model}}
|
|
<tr>
|
|
<td>{{date created_at}}</td>
|
|
<td>
|
|
{{#if user}}
|
|
{{#linkTo 'adminUser' user}}{{avatar user imageSize="tiny"}}{{/linkTo}}
|
|
{{#linkTo 'adminUser' user}}{{user.username}}{{/linkTo}}
|
|
{{else}}
|
|
—
|
|
{{/if}}
|
|
</td>
|
|
<td><a href='mailto:{{unbound to_address}}'>{{to_address}}</a></td>
|
|
<td>{{email_type}}</td>
|
|
<td>{{reply_key}}</td>
|
|
</tr>
|
|
{{/groupedEach}}
|
|
{{/if}}
|
|
|
|
</table>
|