@if (tournament) { @if (tournament.status == 'UPCOMING') { playlist_add_check  Validaties settings  Beheer } @if (tournament.status == 'DIVIDED') { safety_divider  Indeling
Totaal: {{ getTournamentMatchCount(tournament)}} wedstrijden
@for (event of tournament.events; track event.id) { @if (event.groups.length > 0) {
Indeling {{ TournamentEvent.getType(event.type) }} ({{ getEventMatchCount(event)}} wedstrijden)
@for (group of event.groups; track group.id) { {{ group.name }} {{ group.teams.length }} @if (event.doublesEvent) { } @for (team of group.teams; track team.id) { @if (event.doublesEvent && team.player2) { } }
Naam Club SpeelsterktePartner Club Speelsterkte
{{ team.player1 | fullName }} {{ team.player1.club }} {{ getStrength(team.player1.strength.valueOf()) }}{{ team.player2 | fullName }} {{ team.player2.club }} {{ getStrength(team.player2.strength.valueOf()) }}
}
} }
settings  Beheer } @if (tournament.status == 'ONGOING') { play_arrow  Actieve wedstrijden   @if (this.activeMatches().length > 0) { {{ this.activeMatches().length }} } @if (this.activeMatches().length > 0) {
@for (activeMatch of this.activeMatches(); track activeMatch.match.id) {
Baan {{ activeMatch.match.court }}
-
{{ activeMatch.group.name }} {{ activeMatch.round.name }}
Teller: {{ activeMatch.match.counter | fullName }}
Starttijd: {{ activeMatch.match.startTime | date: 'HH:mm' }}
Duur: {{ getDuration(activeMatch.match.startTime) | date: 'mm:ss' }}

} } @else {
Geen actieve wedstrijden
}
} @if (tournament.status == 'ONGOING' || tournament.status == 'DRAWN') { list  Onderdelen @for (event of tournament.events; track event.id) { @for (group of event.groups; track group.id) { @if (group.status == "FINISHED") { check  }{{ group.name }}   @if (getActiveMatchCountForGroup(group) > 0) { {{ getActiveMatchCountForGroup(group) }} } @if (group.status != 'FINISHED' && groupOnlyHasFinishedRounds(group)) { } @if (group.status == 'FINISHED') { } @for (round of group.rounds; track round.id; let roundIndex = $index) { {{ getRoundIcon(round.status) }}  {{ round.name }} @if (round.status == 'NOT_STARTED') { } @if (!round.isFinalsRound) { } @if (round.status == 'IN_PROGRESS' && checkRoundComplete(round)) { } @if (group.status != 'FINISHED' && round.status == 'FINISHED' && (roundIndex + 1) == group.rounds.length && !round.isFinalsRound) { }
Wedstrijden
@if (round.status == 'NOT_STARTED') { @for (match of round.matches; track match.id) { } @if (round.drawnOut) { }
-
Deze ronde uitgeloot: {{ round.drawnOut | teamText }}
} @else if (round.status == 'IN_PROGRESS') { @for (match of round.matches; track match.id) { } @if (round.drawnOut) { }
- @if (match.status == 'NOT_STARTED') { } @else if (match.status == 'IN_PROGRESS') { } @else if (match.status == 'FINISHED') {
@for (game of match.games; track game.id) { {{ game.score1 }}-{{ game.score2 }} } @if (match.games.length == 2) { }
}
Deze ronde uitgeloot: {{ round.drawnOut | teamText }}
} @else if (round.status == 'FINISHED') { @for (match of round.matches; track match.id) { } @if (round.drawnOut) { }
-
@for (game of match.games; track game.id) { {{ game.score1 }}-{{ game.score2 }} } @if (match.games.length == 2) { }
Deze ronde uitgeloot: {{ round.drawnOut | teamText }}
} @if (!round.isFinalsRound) {
Stand
@for (entry of getStandingsForRound(round, group).entries; track entry.position) { }
Tussen haakjes de gemiddelden per gespeelde wedstrijd
# @if (event.doublesEvent) { Team } @else { Speler } Gespeeld Punten Games Wedstrijdpunten
{{ entry.position }} {{ entry.team | teamText }} {{ entry.played }} @if (entry.played > 0 ) { {{ entry.points }} ({{ entry.points / entry.played | number: '1.0-2' }}) } @if (entry.played > 0 ) { {{ entry.gamesWon }}-{{ entry.gamesLost}} ({{ (entry.gamesWon - entry.gamesLost) / entry.played | number: '1.0-2' }}) } @if (entry.played > 0 ) { {{ entry.pointsWon }}-{{ entry.pointsLost }} ({{ (entry.pointsWon - entry.pointsLost) / entry.played | number: '1.0-2' }}) }
} @else if (round.isFinalsRound && round.status == 'FINISHED') {
Uitslag
1e Plaats {{ (checkWinner(round.matches[0]) == 1 ? round.matches[0].team1 : round.matches[0].team2) | teamText }}
2e Plaats {{ (checkWinner(round.matches[0]) == 1 ? round.matches[0].team2 : round.matches[0].team1) | teamText }}
3e Plaats {{ (checkWinner(round.matches[1]) == 1 ? round.matches[1].team1 : round.matches[1].team2) | teamText }}
}
}
} }
settings  Beheer }
}