{{title}}

{{#if canCheckEmails}} {{#if showEmails}} {{d-button action=(action "toggleEmailVisibility") class="hide-emails btn-default" label="admin.users.hide_emails"}} {{else}} {{d-button action=(action "toggleEmailVisibility") class="show-emails btn-default" label="admin.users.show_emails"}} {{/if}} {{/if}}
{{text-field value=listFilter placeholder=searchHint}}
{{#load-more class="users-list-container" selector=".users-list tr" action=(action "loadMore")}} {{#if model}} {{table-header-toggle field="username" labelKey="username" order=order asc=asc automatic=true}} {{table-header-toggle class=(if showEmails "" "hidden") field="email" labelKey="email" order=order asc=asc automatic=true}} {{table-header-toggle field="last_emailed" labelKey="admin.users.last_emailed" order=order asc=asc automatic=true}} {{table-header-toggle field="seen" labelKey="last_seen" order=order asc=asc automatic=true}} {{table-header-toggle field="topics_viewed" labelKey="admin.user.topics_entered" order=order asc=asc automatic=true}} {{table-header-toggle field="posts_read" labelKey="admin.user.posts_read_count" order=order asc=asc automatic=true}} {{table-header-toggle field="read_time" labelKey="admin.user.time_read" order=order asc=asc automatic=true}} {{table-header-toggle field="created" labelKey="created" order=order asc=asc automatic=true}} {{#if siteSettings.must_approve_users}} {{/if}} {{#each model as |user|}} {{#if user.last_emailed_at}} {{else}} {{/if}} {{#if siteSettings.must_approve_users}} {{/if}} {{/each}}
{{i18n "admin.users.approved"}} 
{{avatar user imageSize="small"}} {{#link-to "adminUser" user}}{{user.username}}{{/link-to}} {{#if user.staged}} {{d-icon "far-envelope" title="user.staged" }} {{/if}}
{{i18n "admin.users.last_emailed"}}
{{format-duration user.last_emailed_age}}
{{i18n "admin.users.last_emailed"}}
{{format-duration user.last_emailed_age}}
{{i18n "last_seen"}}
{{format-duration user.last_seen_age}}
{{i18n "admin.user.topics_entered"}}
{{number user.topics_entered}}
{{i18n "admin.user.posts_read_count"}}
{{number user.posts_read_count}}
{{i18n "admin.user.time_read"}}
{{format-duration user.time_read}}
{{i18n "created"}}
{{format-duration user.created_at_age}}
{{i18n-yes-no user.approved}} {{#if user.admin}} {{d-icon "shield-alt" title="admin.title" }} {{/if}} {{#if user.moderator}} {{d-icon "shield-alt" title="admin.moderator" }} {{/if}} {{#if user.second_factor_enabled}} {{d-icon "lock" title="admin.user.second_factor_enabled" }} {{/if}} {{plugin-outlet name="admin-users-list-icon" tagName="" args=(hash user=user query=query)}}
{{conditional-loading-spinner condition=refreshing}} {{else}}

{{i18n "search.no_results"}}

{{/if}} {{/load-more}}