|
|
<ion-view view-title="Travels"> <ion-content>
<div class="list"> <div class="o-float-right"> <a ng-click="showNewAskingTravel()" class="button icon ion-help"></a> <a ng-click="showNewOfferingTravel()" class="button icon ion-plus"></a> </div> <a ng-repeat="travel in travels | orderBy: 'date'" class="item item-avatar" href="#/app/travels/{{travel._id}}"> <img ng-src="img/{{travel.modality}}.png"> <h2>{{travel.title}}</h2> <p> {{travel.description}} </p> <p class="">nºseats: {{travel.seats}}</p> <div class="badge badge-calm item-note">{{travel.owner}}</div> <div class="badge badge-calm item-note">{{travel.date | date:"dd/MM HH:mm a"}}</div> </a> </div> </ion-content> </ion-view>
|