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.

20 lines
753 B

  1. <ion-view view-title="Travels">
  2. <ion-content>
  3. <div class="list">
  4. <div class="">
  5. <a ng-click="showNewTravel()" class="button icon ion-plus o-float-right"></a>
  6. </div>
  7. <a ng-repeat="travel in travels | orderBy: 'date'" class="item item-avatar" href="#/app/travels/{{travel._id}}">
  8. <img ng-src="img/carimg/{{travel.icon}}.png">
  9. <h2>{{travel.title}}</h2>
  10. <p>
  11. {{travel.description}}
  12. </p>
  13. <p class="">nºseats: {{travel.seats}}</p>
  14. <div class="badge badge-calm item-note">{{travel.owner}}</div>
  15. <div class="badge badge-calm item-note">{{travel.date | date:"dd/MM HH:mm a"}}</div>
  16. </a>
  17. </div>
  18. </ion-content>
  19. </ion-view>