diff --git a/src/app/models/training.ts b/src/app/models/training.ts index ef63ba48..bc24a226 100644 --- a/src/app/models/training.ts +++ b/src/app/models/training.ts @@ -28,5 +28,6 @@ export interface Training { // Business Logic Fields status: boolean; + countAttendees: number; attendees: any; } diff --git a/src/app/pages/championship/championship/championship.page.html b/src/app/pages/championship/championship/championship.page.html index 49e9e740..f8fba970 100644 --- a/src/app/pages/championship/championship/championship.page.html +++ b/src/app/pages/championship/championship/championship.page.html @@ -59,16 +59,16 @@

{{game.teamHome}} vs.

{{game.teamAway}}

- {{game.date}} - {{game.time}} + + {{game.location}} {{game.city}}

- : - {{game.location}} {{game.city}} + + {{game.date}} {{game.time}} Uhr

- {{game.liga}} - {{game.teamName}} + + {{game.liga}} {{game.teamName}}

@@ -162,7 +162,7 @@

- {{game.attendees}} + {{game.countAttendees}} diff --git a/src/app/pages/training/training-create/training-create.page.ts b/src/app/pages/training/training-create/training-create.page.ts index b9f32b80..ea67ad2f 100644 --- a/src/app/pages/training/training-create/training-create.page.ts +++ b/src/app/pages/training/training-create/training-create.page.ts @@ -53,6 +53,7 @@ export class TrainingCreatePage implements OnInit { status: true, attendees: [], + countAttendees: 0, }; } diff --git a/src/app/pages/training/trainings/trainings.page.html b/src/app/pages/training/trainings/trainings.page.html index 8fb6b1e3..825eacb2 100644 --- a/src/app/pages/training/trainings/trainings.page.html +++ b/src/app/pages/training/trainings/trainings.page.html @@ -56,25 +56,24 @@ (click)="toggle(false, training)" > +

+ {{training.name}} +

- : + {{training.streetAndNumber}} {{training.city}}

- - {{training.date | date:'dd.MM.YYYY '}} {{training.timeFrom | date:'HH:mm'}} + + {{training.date | date:'dd.MM.YYYY '}} {{training.timeFrom | date:'HH:mm'}} Uhr - {{training.timeTo | date:'HH:mm'}} Uhr

- - {{training.date | date:'dd.MM.YYYY'}} {{training.timeTo | date:'HH:mm'}} -

-

- + {{training.liga}} {{training.teamName}}

- {{training.attendees}} + {{training.countAttendees}}