CAU-ICT-Spring-2019-Project-1/src/app/activities/activities.component.html
Mathieu Sanchez 7e7bc572d8 Remove header in activities component
Add Button in child (card)
Add my schedules
Add scheduler module
Plus clean up architecture and code
2019-06-04 16:19:55 +09:00

13 lines
438 B
HTML

<h1> List of Activities</h1>
<div *ngFor="let activity of activities">
<h3>{{activity.data.name}}</h3>
<ul>
<li>Country: {{activity.data.country}}</li>
<li>City: {{activity.data.city}}</li>
<li>Description: {{activity.data.description}}</li>
<li>Duration: {{activity.data.duration}} minutes</li>
<li>Id: {{activity.id}}</li>
<button (click)="addActivitiesIntoSchedule(activity.id)">Add</button>
</ul>
</div>