Skip to content

Commit

Permalink
Step 23.26: Add name, description ad RSVPs to the view
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent 6b4e250 commit ab609b6
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion client/imports/app/mobile/parties-list.component.mobile.html
Expand Up @@ -4,5 +4,28 @@
</ion-navbar>
</ion-header>
<ion-content>
Parties!
<ion-card *ngFor="let party of parties | async">
<ion-card-content>
<ion-card-title>
{{party.name}}
</ion-card-title>
<p>
{{party.description}}
</p>
</ion-card-content>

<ion-row no-padding>
<ion-col text-right>
<ion-badge>
yes {{party | rsvp:'yes'}}
</ion-badge>
<ion-badge item-center dark>
maybe {{party | rsvp:'maybe'}}
</ion-badge>
<ion-badge item-center danger>
no {{party | rsvp:'no'}}
</ion-badge>
</ion-col>
</ion-row>
</ion-card>
</ion-content>

0 comments on commit ab609b6

Please sign in to comment.