|
|
<ion-view view-title="{{'Travels' | translate}}"> <ion-content class="has-footer"> <ion-refresher pulling-text="{{'Pull_to_refresh' | translate}}..." on-refresh="doRefresh()"> </ion-refresher> <div class="list"> <div> <label class="item item-input"> <i class="icon ion-search placeholder-icon"></i> <input type="search" placeholder="{{'filter' | translate}}..." ng-model="search"> </label> </div>
<div class="card" ng-show="!travels"> <div class="item item-text-wrap"> {{'No_data_in_memory' | translate}}<br> {{'Pull_from_top_to_refresh' | translate}} </div> </div> <a ng-repeat="travel in travels | orderBy: 'date' | filter: search" class="item item-icon-left" href="#/app/travels/{{travel._id}}"> <i class="icon ion-android-car o_text_grey700"></i> <h2 class="o_text_grey800">{{travel.title}}</h2> <div class="item-note text-right"> <div class="o_text_purple300">{{travel.date | date:"dd/MM"}}</div> <div class="o_text_purple300">{{travel.date | date:"HH:mm"}}h</div> </div> <p> {{travel.from.name}} </p> <p> {{travel.to.name}} </p> </a> </div> <div class="button" ng-click="paginationNext()"> load more </div> </ion-content> </ion-view>
|