Spelerslijst op elke pagina
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
This commit is contained in:
@@ -20,6 +20,21 @@
|
||||
</ng-template>
|
||||
<app-tournament-validate></app-tournament-validate>
|
||||
</mat-tab>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon>settings</mat-icon>
|
||||
Beheer
|
||||
</ng-template>
|
||||
<mat-tab-group animationDuration="0ms" disableRipple="true">
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon>group</mat-icon>
|
||||
Spelerslijst
|
||||
</ng-template>
|
||||
<app-tournament-players [tournament]="tournament"></app-tournament-players>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
</mat-tab>
|
||||
}
|
||||
|
||||
@if (tournament.status == 'DIVIDED') {
|
||||
@@ -97,6 +112,21 @@
|
||||
}
|
||||
}
|
||||
</mat-tab>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon>settings</mat-icon>
|
||||
Beheer
|
||||
</ng-template>
|
||||
<mat-tab-group animationDuration="0ms" disableRipple="true">
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon>group</mat-icon>
|
||||
Spelerslijst
|
||||
</ng-template>
|
||||
<app-tournament-players [tournament]="tournament"></app-tournament-players>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
</mat-tab>
|
||||
}
|
||||
|
||||
@if (tournament.status == 'ONGOING') {
|
||||
|
||||
@@ -3,18 +3,24 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Naam</th>
|
||||
@if (tournament.status == 'ONGOING') {
|
||||
<th>Wedstrijden geteld</th>
|
||||
}
|
||||
<th>Onderdelen</th>
|
||||
<th>Kosten</th>
|
||||
<th>Betaald</th>
|
||||
@if (tournament.status == 'ONGOING') {
|
||||
<th>Aanwezig</th>
|
||||
}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (tournamentPlayer of tournament.tournamentPlayers; track tournamentPlayer.playerId) {
|
||||
<tr>
|
||||
<td>{{ tournamentPlayer.name }}</td>
|
||||
@if (tournament.status == 'ONGOING') {
|
||||
<td>{{ tournamentPlayer.counts }}</td>
|
||||
}
|
||||
<td>
|
||||
@for (event of tournamentPlayer.events; track event) {
|
||||
{{ event }}
|
||||
@@ -32,6 +38,7 @@
|
||||
}
|
||||
</mat-slide-toggle>
|
||||
</td>
|
||||
@if (tournament.status == 'ONGOING') {
|
||||
<td>
|
||||
<mat-slide-toggle [(ngModel)]="tournamentPlayer.present" (change)="playerPresent($event, tournamentPlayer.playerId)">
|
||||
@if (tournamentPlayer.present) {
|
||||
@@ -41,6 +48,7 @@
|
||||
}
|
||||
</mat-slide-toggle>
|
||||
</td>
|
||||
}
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user