|
<ion-view view-title="{{' travels' | translate}}">
|
|
<ion-content class="has-footer">
|
|
<ion-refresher
|
|
pulling-text="{{'Pull_to_refresh' | translate}}..."
|
|
on-refresh="doRefresh()">
|
|
</ion-refresher>
|
|
<div class="list">
|
|
<div class="item item-divider o_purple300" ng-show="travels[0]">
|
|
{{'Travels_published' | translate}}
|
|
</div>
|
|
<a ng-repeat="travel in travels | orderBy: 'date'"
|
|
class="item item-icon-left" href="#/app/travels/{{travel._id}}">
|
|
<div ng-include="'templates/travelListTemplate.html'"></div>
|
|
</a>
|
|
<div class="item item-divider o_purple300" ng-show="joins[0]">
|
|
{{'Travels_joining' | translate}}
|
|
</div>
|
|
<a ng-repeat="travel in joins | orderBy: 'date'"
|
|
class="item item-icon-left" href="#/app/travels/{{travel._id}}">
|
|
<div ng-include="'templates/travelListTemplate.html'"></div>
|
|
</a>
|
|
</div>
|
|
</ion-content>
|
|
</ion-view>
|