<ul class="subtabs">
    <li{{#unless (or this.filter.type this.filter.id this.filter.parent_type this.filter.parent_id this.filter.[services.slug])}} class="selected"{{/unless}}><a href="/organizations/{{this.org.id}}/staff">{{i18n "staff.filter.all"}}</a></li>
    <li{{#is this.filter.role "admin"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/admins">{{i18n "staff.filter.admins"}}</a></li>
    <li{{#is this.filter.role "deputy_admin"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/deputy_admins">{{i18n "staff.filter.deputy_admins"}}</a></li>
    <li{{#is this.filter.[services.slug] "tracker"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/subscribers/tracker">{{i18n "staff.filter.subscribers.tracker"}}</a></li>
    <li{{#is this.filter.[services.slug] "disk"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/subscribers/disk">{{i18n "staff.filter.subscribers.disk"}}</a></li>
    <li{{#is this.filter.type "department"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/departments">{{i18n "staff.filter.departments"}}</a></li>
    <li{{#is this.filter.type "group"}} class="selected"{{/is}}><a href="/organizations/{{this.org.id}}/groups">{{i18n "staff.filter.groups"}}</a></li>
    <li data-id="text_search">
        <form action="{{this.url}}">
            <input type="text" name="text" data-compact="true" value="{{this.filter.text}}" placeholder="{{i18n "staff.filter.text_search"}}"{{#if this.filter.text}} autofocus{{/if}}>
            <input type="hidden" name="page" value="0">
        </form>
    </li>
</ul>
