discourse/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars

29 lines
1 KiB
Handlebars
Raw Normal View History

<p>
<a {{action clearFilters}} {{bindAttr class="clearFiltersClass"}}>{{i18n admin.logs.staff_actions.clear_filters}}</a>
</p>
<div class='table staff-actions'>
<div class="heading-container">
2013-08-09 11:24:50 -04:00
<div class="col heading first staff_user">{{i18n admin.logs.staff_actions.staff_user}}</div>
<div class="col heading action">{{i18n admin.logs.action}}</div>
<div class="col heading target_user">{{i18n admin.logs.staff_actions.target_user}}</div>
<div class="col heading created_at">{{i18n admin.logs.staff_actions.when}}</div>
<div class="col heading context">{{i18n admin.logs.staff_actions.context}}</div>
<div class="col heading details">{{i18n admin.logs.staff_actions.details}}</div>
<div class="clearfix"></div>
</div>
{{#if loading}}
<br/>
<div class='admin-loading'>{{i18n loading}}</div>
{{else}}
{{#if model.length}}
{{view Discourse.StaffActionLogsListView contentBinding="controller"}}
{{else}}
{{i18n search.no_results}}
{{/if}}
{{/if}}
</div>