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>
|
</ng-template>
|
||||||
<app-tournament-validate></app-tournament-validate>
|
<app-tournament-validate></app-tournament-validate>
|
||||||
</mat-tab>
|
</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') {
|
@if (tournament.status == 'DIVIDED') {
|
||||||
@@ -97,6 +112,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</mat-tab>
|
</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') {
|
@if (tournament.status == 'ONGOING') {
|
||||||
|
|||||||
@@ -3,18 +3,24 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Naam</th>
|
<th>Naam</th>
|
||||||
<th>Wedstrijden geteld</th>
|
@if (tournament.status == 'ONGOING') {
|
||||||
|
<th>Wedstrijden geteld</th>
|
||||||
|
}
|
||||||
<th>Onderdelen</th>
|
<th>Onderdelen</th>
|
||||||
<th>Kosten</th>
|
<th>Kosten</th>
|
||||||
<th>Betaald</th>
|
<th>Betaald</th>
|
||||||
<th>Aanwezig</th>
|
@if (tournament.status == 'ONGOING') {
|
||||||
|
<th>Aanwezig</th>
|
||||||
|
}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@for (tournamentPlayer of tournament.tournamentPlayers; track tournamentPlayer.playerId) {
|
@for (tournamentPlayer of tournament.tournamentPlayers; track tournamentPlayer.playerId) {
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ tournamentPlayer.name }}</td>
|
<td>{{ tournamentPlayer.name }}</td>
|
||||||
<td>{{ tournamentPlayer.counts }}</td>
|
@if (tournament.status == 'ONGOING') {
|
||||||
|
<td>{{ tournamentPlayer.counts }}</td>
|
||||||
|
}
|
||||||
<td>
|
<td>
|
||||||
@for (event of tournamentPlayer.events; track event) {
|
@for (event of tournamentPlayer.events; track event) {
|
||||||
{{ event }}
|
{{ event }}
|
||||||
@@ -32,15 +38,17 @@
|
|||||||
}
|
}
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
@if (tournament.status == 'ONGOING') {
|
||||||
<mat-slide-toggle [(ngModel)]="tournamentPlayer.present" (change)="playerPresent($event, tournamentPlayer.playerId)">
|
<td>
|
||||||
@if (tournamentPlayer.present) {
|
<mat-slide-toggle [(ngModel)]="tournamentPlayer.present" (change)="playerPresent($event, tournamentPlayer.playerId)">
|
||||||
Aanwezig
|
@if (tournamentPlayer.present) {
|
||||||
} @else {
|
Aanwezig
|
||||||
Nog niet aanwezig
|
} @else {
|
||||||
}
|
Nog niet aanwezig
|
||||||
</mat-slide-toggle>
|
}
|
||||||
</td>
|
</mat-slide-toggle>
|
||||||
|
</td>
|
||||||
|
}
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user