<div>
  <sino-breadcrumb class="bar bar-subheader" items="deptNavs" first="topDept" loading="true" on-item-click="getDetail(item)" ></sino-breadcrumb>

  <sino-loading-hint
    refresh="refresh()"
    state="loadingState">
    <ion-content class="has-subheader"
      scroll="true"
      delegate-handle="linkerTreeScrollView"
      on-scroll="onScroll(scrollTop)">
      <div class="list" style="margin-top: -1px;">
        <div class="item item-icon-left sino-user-item item-icon-right"
          ng-repeat="user in currentDept.users | orderBy:'orderValue'"
          view-linker-detail="{{user.userId}}" view-linker-detail-user="user" 
          view-linker-detail-deptid="currentDept.deptId"
          ng-if="user.note === '1'">
          <sino-person-photo user-id="{{user.userId}}" size="32x32"></sino-person-photo>
          {{user.userName}}
          <i class="icon" sino-linker-favorite-button="{{user.userId}}" linker-favorite-user="user" stop-event></i>
        </div>

        <div class="item item-icon-left sino-user-item"
          ng-repeat="dept in currentDept.depts | orderBy:'orderNo'"
          ng-click="getDetail(dept);">
          <i class="icon ion-ios-list"></i>
          {{dept.deptName}}
        </div>

      </div>
    </ion-content>
  </sino-loading-hint>
</div>
