{{#d-section pageClass="users"}} {{#load-more selector=".user-card-directory .user-card-container" action=(action "loadMore") }}
{{period-chooser period=period onChange=(action (mut period)) fullDay=false }} {{#if lastUpdatedAt}}
{{i18n "directory.last_updated"}} {{lastUpdatedAt}}
{{/if}}
{{#if showGroupFilter}} {{combo-box class="directory-group-selector" value=group content=groupOptions onChange=(action groupChanged) options=(hash none="directory.group.all") }} {{/if}} {{#if currentUser.staff}} {{d-button icon="wrench" action=(action "showEditColumnsModal") class="btn-default open-edit-columns-btn" }} {{/if}}
{{#conditional-loading-spinner condition=isLoading}} {{#if userCards.length}}
{{#each userCards as |userCard|}}
{{user-card-static user=userCard.user visible=true loading=userCard.loading username=userCard.user.username showUser=this.userCardShowUser }} {{#if (theme-setting "show_stats")}} {{/if}}
{{/each}}
{{conditional-loading-spinner condition=model.loadingMore}} {{else}}

{{i18n "directory.no_results"}}

{{/if}} {{/conditional-loading-spinner}}
{{/load-more}} {{/d-section}}