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.

41 lines
1.5 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <ion-view view-title="{{'Travels' | translate}}">
  2. <ion-content class="has-footer">
  3. <ion-refresher
  4. pulling-text="{{'Pull_to_refresh' | translate}}..."
  5. on-refresh="doRefresh()">
  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. <i class="icon ion-android-car o_text_grey700"></i>
  23. <h2 class="o_text_grey800">{{travel.title}}</h2>
  24. <div class="item-note text-right">
  25. <div class="o_text_purple300">{{travel.date | date:"dd/MM"}}</div>
  26. <div class="o_text_purple300">{{travel.date | date:"HH:mm"}}h</div>
  27. </div>
  28. <p>
  29. {{travel.from.name}}
  30. </p>
  31. <p>
  32. {{travel.to.name}}
  33. </p>
  34. </a>
  35. </div>
  36. <div class="button" ng-click="paginationNext()">
  37. load more
  38. </div>
  39. </ion-content>
  40. </ion-view>