unjoin implemented, and travel display re-organized

This commit is contained in:
idoctnef
2016-09-19 10:58:44 +02:00
parent 2026b42c2e
commit fb545e0c67
8 changed files with 110 additions and 44 deletions

View File

@@ -16,6 +16,13 @@
<input type="search" placeholder="search..." ng-model="search">
</label>
</div>
<div class="card" ng-show="!travels">
<div class="item item-text-wrap">
No data in memory.<br>
Pull from top to refresh
</div>
</div>
<a ng-repeat="travel in travels | orderBy: 'date' | filter: search" class="item item-avatar" href="#/app/travels/{{travel._id}}">
<img ng-src="img/{{travel.modality}}.png"/>
<h2>{{travel.title}}</h2>