discourse/app/assets/javascripts/admin/templates/components/moderation-history-item.hbs
Robin Ward 410994b7f5 FEATURE: Show a button to Staff for "Moderation History" on posts/topics
When clicked, it pops up a modal showing a history of moderation actions
taken on the post or topic.
2017-12-05 15:20:20 -05:00

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>