{{#if showHeader}}
{{#if internalBulkActions}}
{{#each availableActions as |resourceAction index|}} {{#if resourceAction.enabled}} {{t resourceAction.label}} {{else}} {{t resourceAction.label}} {{/if}} {{/each}} {{#if selectedNodes}}
{{t pagingLabel pages=1 count=selectedNodes.length}}
{{/if}}
{{/if}}
{{#if leftActions}}
{{yield this "left-actions"}}
{{/if}}
{{#if search}}
{{#ember-wormhole to=searchToWormhole renderInPlace=(not searchToWormhole)}}
{{input value=searchText aria-title=(t "generic.search") type="search" class="input-sm pull-right" placeholder=(t "generic.search")}} {{#if searchText}} {{/if}}
{{/ember-wormhole}}
{{/if}} {{#if rightActions}}
{{yield this "right-actions"}}
{{/if}}
{{/if}} {{#if internalBulkActions}} {{/if}} {{#each headers as |header idx|}} {{/each}} {{#if rowActions}} {{/if}} {{#if internalBulkActions}} {{/if}} {{#each headers as |header|}} {{sortable-thead sortable=this current=sortBy descending=descending action=(action "changeSort") header=header }} {{/each}} {{#if rowActions}} {{/if}} {{#if prefix}} {{yield this "prefix"}} {{/if}} {{#if groupByKey}} {{#if extraGroups.length}} {{#each extraGroups as |group|}} {{yield this "group" group}} {{yield this "norows"}} {{/each}} {{/if}} {{#each groupedContent as |group|}} {{yield this "group" group}} {{#each group.items as |row|}} {{yield this "row" row dt (array-includes childFilterNodes row.id)}} {{/each}} {{else}} {{yield this (if arranged.length "nomatch" "norows")}} {{/each}} {{else}} {{#each pagedContent as |row|}} {{yield this "row" row dt (array-includes childFilterNodes row.id)}} {{else}} {{yield this (if arranged.length "nomatch" "norows")}} {{/each}} {{/if}} {{#if suffix}} {{yield this "suffix"}} {{/if}}
{{check-box classNames="select-all-check" checked=isAll}}
{{#if (and paging showPaging)}} {{page-numbers content=pagedContent class="text-center mt-10 mb-10 no-select" indexTo=indexTo indexFrom=indexFrom totalCount=filtered.length textLabel=pagingLabel }} {{/if}}