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.

21 lines
839 B

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