2013-08-09 16:58:57 -04:00
|
|
|
<div class="staff-action-logs-controls">
|
|
|
|
<a {{action clearAllFilters}} {{bindAttr class=":clear-filters :filter filtersExists::invisible"}}>
|
|
|
|
<span class="label">{{i18n admin.logs.staff_actions.clear_filters}}</span>
|
|
|
|
</a>
|
|
|
|
{{#if actionFilter}}
|
|
|
|
<a {{action clearFilter "action_name"}} class="filter">
|
|
|
|
<span class="label">{{i18n admin.logs.action}}</span>: {{actionFilter}}
|
|
|
|
<i class="icon icon-remove-sign"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
{{#if filters.staff_user}}
|
|
|
|
<a {{action clearFilter "staff_user"}} class="filter">
|
|
|
|
<span class="label">{{i18n admin.logs.staff_actions.staff_user}}</span>: {{filters.staff_user}}
|
|
|
|
<i class="icon icon-remove-sign"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
{{#if filters.target_user}}
|
|
|
|
<a {{action clearFilter "target_user"}} class="filter">
|
|
|
|
<span class="label">{{i18n admin.logs.staff_actions.target_user}}</span>: {{filters.target_user}}
|
|
|
|
<i class="icon icon-remove-sign"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2013-08-20 13:50:51 -04:00
|
|
|
{{#if filters.subject}}
|
|
|
|
<a {{action clearFilter "subject"}} class="filter">
|
|
|
|
<span class="label">{{i18n admin.logs.staff_actions.subject}}</span>: {{filters.subject}}
|
|
|
|
<i class="icon icon-remove-sign"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2013-08-09 16:58:57 -04:00
|
|
|
</div>
|
2013-08-09 10:06:02 -04:00
|
|
|
|
|
|
|
<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>
|
2013-08-09 10:06:02 -04:00
|
|
|
<div class="col heading action">{{i18n admin.logs.action}}</div>
|
2013-08-19 16:58:38 -04:00
|
|
|
<div class="col heading subject">{{i18n admin.logs.staff_actions.subject}}</div>
|
2013-08-09 10:06:02 -04:00
|
|
|
<div class="col heading created_at">{{i18n admin.logs.staff_actions.when}}</div>
|
|
|
|
<div class="col heading details">{{i18n admin.logs.staff_actions.details}}</div>
|
2013-08-19 16:58:38 -04:00
|
|
|
<div class="col heading context">{{i18n admin.logs.staff_actions.context}}</div>
|
2013-08-09 10:06:02 -04:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if loading}}
|
|
|
|
<br/>
|
|
|
|
<div class='admin-loading'>{{i18n loading}}</div>
|
2013-08-07 16:04:12 -04:00
|
|
|
{{else}}
|
2013-08-09 10:06:02 -04:00
|
|
|
{{#if model.length}}
|
|
|
|
{{view Discourse.StaffActionLogsListView contentBinding="controller"}}
|
|
|
|
{{else}}
|
|
|
|
{{i18n search.no_results}}
|
|
|
|
{{/if}}
|
2013-08-07 16:04:12 -04:00
|
|
|
{{/if}}
|
2013-08-09 10:06:02 -04:00
|
|
|
</div>
|
2013-08-09 16:58:57 -04:00
|
|
|
|
|
|
|
{{#unless loading}}
|
|
|
|
<div class="staff-action-logs-instructions">
|
|
|
|
{{i18n admin.logs.staff_actions.instructions}}
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|