discourse/app/assets/javascripts/admin/templates/modal/admin-moderation-history.hbs
Joffrey JAFFEUX f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00

24 lines
758 B
Handlebars

{{#d-modal-body title="admin.flags.moderation_history"}}
{{#conditional-loading-spinner condition=loading}}
{{#if history}}
<table class='moderation-history'>
<tr>
<th>{{i18n "admin.logs.created_at"}}</th>
<th>{{i18n "admin.logs.action"}}</th>
<th>{{i18n "admin.moderation_history.performed_by"}}</th>
</tr>
{{#each history as |item|}}
{{moderation-history-item item=item}}
{{/each}}
</table>
{{else}}
<div class='no-results'>
{{i18n "admin.moderation_history.no_results"}}
</div>
{{/if}}
{{/conditional-loading-spinner}}
{{/d-modal-body}}
<div class="modal-footer">
{{d-button action=(route-action "closeModal") label="close"}}
</div>