{{#if filtersExists}}
{{i18n 'admin.logs.staff_actions.clear_filters'}} {{#if actionFilter}} {{i18n 'admin.logs.action'}}: {{actionFilter}} {{d-icon "times-circle"}} {{/if}} {{#if filters.acting_user}} {{i18n 'admin.logs.staff_actions.staff_user'}}: {{filters.acting_user}} {{d-icon "times-circle"}} {{/if}} {{#if filters.target_user}} {{i18n 'admin.logs.staff_actions.target_user'}}: {{filters.target_user}} {{d-icon "times-circle"}} {{/if}} {{#if filters.subject}} {{i18n 'admin.logs.staff_actions.subject'}}: {{filters.subject}} {{d-icon "times-circle"}} {{/if}}
{{else}} {{i18n "admin.logs.staff_actions.filter"}} {{combo-box content=userHistoryActions nameProperty="name" value=filterActionId none="admin.logs.staff_actions.all"}} {{/if}}
{{d-button action="exportStaffActionLogs" label="admin.export_csv.button_text" icon="download"}}
{{i18n 'admin.logs.staff_actions.staff_user'}}
{{i18n 'admin.logs.action'}}
{{i18n 'admin.logs.staff_actions.subject'}}
{{i18n 'admin.logs.staff_actions.when'}}
{{i18n 'admin.logs.staff_actions.details'}}
{{i18n 'admin.logs.staff_actions.context'}}
{{#conditional-loading-spinner condition=loading}} {{#each model as |item|}}
{{#link-to 'adminUser' item.acting_user}}{{avatar item.acting_user imageSize="tiny"}}{{/link-to}} {{item.acting_user.username}}
{{#if item.target_user}} {{#link-to 'adminUser' item.target_user}}{{avatar item.target_user imageSize="tiny"}}{{/link-to}} {{item.target_user.username}} {{/if}} {{#if item.subject}} {{item.subject}} {{/if}}
{{age-with-tooltip item.created_at}}
{{{item.formattedDetails}}} {{#if item.useCustomModalForDetails}} {{i18n 'admin.logs.staff_actions.show'}} {{/if}} {{#if item.useModalForDetails}} {{i18n 'admin.logs.staff_actions.show'}} {{/if}}
{{item.context}}
{{else}} {{i18n 'search.no_results'}} {{/each}} {{/conditional-loading-spinner}}