<ion-view view-title="Travels">
|
|
<ion-content>
|
|
|
|
<div class="list">
|
|
<div class="">
|
|
<a ng-click="showNewTravel()" class="button icon ion-plus o-float-right"></a>
|
|
</div>
|
|
<a ng-repeat="travel in travels | orderBy: 'date'" class="item item-avatar" href="#/app/travels/{{travel._id}}">
|
|
<img ng-src="img/carimg/{{travel.icon}}.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>
|