<ion-modal-view>
	<ion-header-bar class="bar-dark">
		<button class="button icon-left ion-ios-arrow-back button-clear" sino-modal-back-button="close()">取消</button>
		<h1 class="title">意见</h1>
		<button class="button button-icon icon" stop-event ng-click="changeDropDown()">
			排序<span ng-class="{'ion-ios-arrow-down': dropdown, 'ion-ios-arrow-up': !dropdown}"></span></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 class="has-header" scroll="true" ng-click="closeDropDown()">
		<sino-notion-list flow-type="{{flowType}}" record-id="{{recordId}}" sort-type="sortType"></sino-notion-list>
	</ion-content>
</ion-modal-view>