mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 10:15:47 +08:00
410994b7f5
When clicked, it pops up a modal showing a history of moderation actions taken on the post or topic.
18 lines
514 B
Handlebars
18 lines
514 B
Handlebars
<td class='date'>
|
|
{{format-date item.created_at}}
|
|
</td>
|
|
<td class='history-item-action'>
|
|
<div class='action-name'>
|
|
{{i18n (concat "admin.moderation_history.actions." item.action_name)}}
|
|
</div>
|
|
<div class='action-details'>{{item.details}}</div>
|
|
</td>
|
|
<td class='history-item-actor'>
|
|
{{#if item.acting_user}}
|
|
{{#user-link user=item.acting_user}}
|
|
{{avatar item.acting_user imageSize="small"}}
|
|
<span>{{format-username item.acting_user.username}}</span>
|
|
{{/user-link}}
|
|
{{/if}}
|
|
</td>
|