Use Player Links & match count

This commit is contained in:
2024-11-14 00:00:33 +01:00
parent b48623f77e
commit 5a4e7f89e1
7 changed files with 114 additions and 4 deletions

View File

@@ -46,11 +46,16 @@
</button>
</mat-menu>
</ng-template>
<mat-card appearance="outlined" class="m-3">
<mat-card-header>
<h6>Totaal: {{ getTournamentMatchCount(tournament)}} wedstrijden</h6>
</mat-card-header>
</mat-card>
@for (event of tournament.events; track event) {
@if (event.groups.length > 0) {
<mat-card appearance="outlined" class="m-3">
<mat-card-header>
<h6>Indeling {{ TournamentEvent.getType(event.type) }}</h6>
<h6>Indeling {{ TournamentEvent.getType(event.type) }} ({{ getEventMatchCount(event)}} wedstrijden)</h6>
</mat-card-header>
<mat-card-content>
<mat-accordion multi="true">