You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

8 years ago
8 years ago
  1. <ion-view view-title="{{'Travels' | translate}}">
  2. <ion-content>
  3. <ion-refresher
  4. pulling-text="{{'Pull_to_refresh' | translate}}..."
  5. on-refresh="paginationNext()">
  6. </ion-refresher>
  7. <div class="list">
  8. <div>
  9. <label class="item item-input">
  10. <i class="icon ion-search placeholder-icon"></i>
  11. <input type="search" placeholder="{{'filter' | translate}}..." ng-model="search">
  12. </label>
  13. </div>
  14. <div class="card" ng-show="!travels">
  15. <div class="item item-text-wrap">
  16. {{'No_data_in_memory' | translate}}<br>
  17. {{'Pull_from_top_to_refresh' | translate}}
  18. </div>
  19. </div>
  20. <a ng-repeat="travel in travels | orderBy: 'date' | filter: search"
  21. class="item item-icon-left" href="#/app/travels/{{travel._id}}">
  22. <div ng-include="'templates/travelListTemplate.html'"></div>
  23. </a>
  24. </div>
  25. <!--<div class="button" ng-click="paginationNext()">
  26. {{'load_more' | translate}}
  27. </div>-->
  28. <ion-infinite-scroll
  29. ng-if="loadMorePagination"
  30. on-infinite="paginationNext()"
  31. distance="1%">
  32. </ion-infinite-scroll>
  33. </ion-content>
  34. </ion-view>