{{#d-section pageClass="users"}} {{#load-more selector=".user-card-directory .user-card-container" action=(action "loadMore")}}
{{plugin-outlet name="users-top" connectorTagName="div" args=(hash model=model)}}
{{period-chooser period=period onChange=(action (mut period)) fullDay=false}} {{#if lastUpdatedAt}}
{{i18n "directory.last_updated"}} {{lastUpdatedAt}}
{{/if}}
{{#if model.totalRows}} {{i18n "directory.total_rows" count=model.totalRows}} {{/if}} {{input value=(readonly nameInput) input=(action "onUsernameFilterChanged" value="target.value") placeholderKey="directory.filter_name" class="filter-name no-blur" }} {{combo-box class="directory-group-selector" value=group content=groupOptions onChange=(action groupChanged) options=(hash none="directory.group.all" ) }} {{#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 }} {{#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}}