This commit is contained in:
@@ -212,17 +212,19 @@
|
||||
<mat-icon>print</mat-icon>
|
||||
Wedstrijdbriefjes printen
|
||||
</button>
|
||||
<button mat-menu-item (click)="printRoundOverview(round)">
|
||||
<mat-icon>print</mat-icon>
|
||||
Rondeoverzicht printen
|
||||
</button>
|
||||
@if (!round.isFinalsRound) {
|
||||
<button mat-menu-item (click)="printRoundOverview(round)">
|
||||
<mat-icon>print</mat-icon>
|
||||
Rondeoverzicht printen
|
||||
</button>
|
||||
}
|
||||
@if (round.status == 'IN_PROGRESS' && checkRoundComplete(round)) {
|
||||
<button mat-menu-item (click)="finishRound(round)">
|
||||
<mat-icon>check</mat-icon>
|
||||
Ronde afsluiten
|
||||
</button>
|
||||
}
|
||||
@if (group.status != 'FINISHED' && round.status == 'FINISHED' && (roundIndex + 1) == group.rounds.length) {
|
||||
@if (group.status != 'FINISHED' && round.status == 'FINISHED' && (roundIndex + 1) == group.rounds.length && !round.isFinalsRound) {
|
||||
<button mat-menu-item (click)="newRound(group)">
|
||||
<mat-icon>playlist_add</mat-icon>
|
||||
Nieuwe ronde
|
||||
@@ -379,6 +381,25 @@
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
} @else if (round.isFinalsRound && round.status == 'FINISHED') {
|
||||
<h6 class="mt-3">Uitslag</h6>
|
||||
|
||||
<table class="table w-50 m-4">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1e Plaats</td>
|
||||
<td>{{ (checkWinner(round.matches[0]) == 1 ? round.matches[0].team1 : round.matches[0].team2) | teamText }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2e Plaats</td>
|
||||
<td>{{ (checkWinner(round.matches[0]) == 1 ? round.matches[0].team2 : round.matches[0].team1) | teamText }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3e Plaats</td>
|
||||
<td>{{ (checkWinner(round.matches[1]) == 1 ? round.matches[1].team1 : round.matches[1].team2) | teamText }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
</mat-tab>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user