{{#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))}}
{{combo-box content=availableGroups value=group options=(hash clearable=true none=(theme-prefix 'filter_by_group')) valueAttribute="value"}} {{text-field value=nameInput placeholderKey="directory.filter_name" class="filter-name no-blur"}}
{{#conditional-loading-spinner condition=model.loading}} {{#if userCards.length}}
{{#each userCards as |userCard|}}
{{user-card-static user=userCard.user visible=true loading=userCard.loading username=userCard.user.username }}
{{/each}}
{{conditional-loading-spinner condition=model.loadingMore}} {{else}}

{{i18n "directory.no_results"}}

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