feat(data): add data detail templates

Additionally clean up the code
This commit is contained in:
Jovan Krunić
2019-04-10 15:01:00 +02:00
parent 75ca8c8a73
commit 5855accc16
58 changed files with 1015 additions and 91 deletions

View File

@@ -14,12 +14,5 @@
</ion-refresher-content>
</ion-refresher>
<stapps-data-list-item [item]="item"></stapps-data-list-item>
<div [ngSwitch]="item.type">
<!-- <stapps-dish-detail-content [item]="item" *ngSwitchCase="'dish'"></stapps-dish-detail-content> -->
<!-- <span *ngSwitchDefault>
<p *ngIf="item.description">{{item.description}}</p>
</span> -->
</div>
<stapps-data-detail-content [item]="item"></stapps-data-detail-content>
</ion-content>