<div ng-controller="NotionCtrl">
  <ion-header-bar class="bar-dark">
    <button class="button icon-left ion-ios-arrow-back button-clear sino-back-button" sino-modal-back-button="closeNotion()">返回</button>
    <h1 class="title">意见</h1>
    <button class="button button-icon icon" stop-event ng-click="changeDropDown()">排序</button>
  </ion-header-bar>

  <div class="list message-header-dropdown" ng-show="dropdown">
    <a class="item item-icon-left" ng-click="orderBy('node')">
      <i class="icon ion-navicon"></i>
      节点排序
    </a>
    <a class="item item-icon-left" ng-click="orderBy('time')">
      <i class="icon ion-clock"></i>
      时间排序
    </a>
  </div>

  <ion-content scroll="true" delegate-handle="mainScroll" class="has-header task-content view-task-content" ng-click="closeDropDown()">
    <sino-notion-list notions="notions" flow-type="{{notionConfig.flowType}}" record-id="{{notionConfig.recordId}}" sort-type="order"></sino-notion-list>
    </ion-list>
  </ion-content>
</div>
