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.

46 lines
1.7 KiB

  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 class="item item-divider o_purple300" ng-show="travels[0]">
  9. {{'Travels_offering' | translate}}
  10. </div>
  11. <a ng-repeat="travel in travels | orderBy: 'date'"
  12. class="item item-icon-left" href="#/app/travels/{{travel._id}}">
  13. <i class="icon ion-android-car o_text_grey700"></i>
  14. <h2 class="o_text_grey800">{{travel.title}}</h2>
  15. <div class="item-note text-right">
  16. <div class="o_text_purple300">{{travel.date | date:"dd/MM"}}</div>
  17. <div class="o_text_purple300">{{travel.date | date:"HH:mm"}}h</div>
  18. </div>
  19. <p>
  20. {{travel.from.name}}
  21. </p>
  22. <p>
  23. {{travel.to.name}}
  24. </p>
  25. </a>
  26. <div class="item item-divider o_purple300" ng-show="joins[0]">
  27. {{'Travels_joining' | translate}}
  28. </div>
  29. <a ng-repeat="travel in joins | orderBy: 'date'"
  30. class="item item-icon-left" href="#/app/travels/{{travel._id}}">
  31. <i class="icon ion-android-car o_text_grey700"></i>
  32. <h2 class="o_text_grey800">{{travel.title}}</h2>
  33. <div class="item-note text-right">
  34. <div class="o_text_purple300">{{travel.date | date:"dd/MM"}}</div>
  35. <div class="o_text_purple300">{{travel.date | date:"HH:mm"}}h</div>
  36. </div>
  37. <p>
  38. {{travel.from.name}}
  39. </p>
  40. <p>
  41. {{travel.to.name}}
  42. </p>
  43. </a>
  44. </div>
  45. </ion-content>
  46. </ion-view>