{{#if view.hero}} {{view view.hero}} {{/if}}
{{#link-to (query-params show="discussions") class="btn btn-default btn-icon"}}{{fa-icon "bars"}}{{/link-to}} {{#link-to (query-params show="posts") class="btn btn-default btn-icon"}}{{fa-icon "square-o"}}{{/link-to}} {{ui/select-input class="control-sort" content=index.sortOptions optionValuePath="content.key" optionLabelPath="content.label" value=index.sort}}
{{ui/action-button class="control-markAllAsRead btn btn-default btn-icon" icon="check" title="Mark All as Read" action="markAllAsRead"}}
    {{#each discussion in index.model}} {{index/discussion-listing discussion=discussion searchQuery=index.searchQuery terminalPostType=index.terminalPostType countType=index.countType discussionRemoved="discussionRemoved"}} {{/each}}
{{#if index.resultsLoading}} {{ui/loading-indicator size="small"}} {{/if}} {{#if index.moreResults}} {{#unless index.resultsLoading}}
{{ui/action-button class="control-loadMore btn btn-default" action="loadMore" label="Load More"}}
{{/unless}} {{/if}}
{{outlet}}