diff --git a/src/components/FightTable.svelte b/src/components/FightTable.svelte index 291984a..d95cfe8 100644 --- a/src/components/FightTable.svelte +++ b/src/components/FightTable.svelte @@ -44,27 +44,31 @@
- - {#each Array(rows) as i (i)} - - - - - {/each} - - {#each window(event.fights.filter(f => f.group === group), rows) as fights} - - {#each fights as fight (fight.id)} - - - - + + + {#each Array(rows) as i (i)} + + + + {/each} - {/each} + + + {#each window(event.fights.filter(f => f.group === group), rows) as fights} + + {#each fights as fight (fight.id)} + + + + + {/each} + + {/each} +
{t("announcements.table.time")}{t("announcements.table.blue")}{t("announcements.table.red")}{t("announcements.table.winner")}
{Intl.DateTimeFormat(astroI18n.locale, { - hour: "numeric", - minute: "numeric", - }).format(new Date(fight.start))}{fight.blueTeam.kuerzel}{fight.redTeam.kuerzel}{getWinner(fight)}
{t("announcements.table.time")}{t("announcements.table.blue")}{t("announcements.table.red")}{t("announcements.table.winner")}
{Intl.DateTimeFormat(astroI18n.locale, { + hour: "numeric", + minute: "numeric", + }).format(new Date(fight.start))}{fight.blueTeam.kuerzel}{fight.redTeam.kuerzel}{getWinner(fight)}
diff --git a/src/components/GroupTable.svelte b/src/components/GroupTable.svelte index 275682b..7e878cf 100644 --- a/src/components/GroupTable.svelte +++ b/src/components/GroupTable.svelte @@ -50,20 +50,24 @@
- - {#each Array(rows) as i (i)} - - - {/each} - - {#each window(teamPoints, rows) as teams} - - {#each teams as team (team.team.id)} - - + + + {#each Array(rows) as i (i)} + + {/each} - {/each} + + + {#each window(teamPoints, rows) as teams} + + {#each teams as team (team.team.id)} + + + {/each} + + {/each} +
{t("announcements.table.team")}{t("announcements.table.points")}
{team.team.name}{team.points}
{t("announcements.table.team")}{t("announcements.table.points")}
{team.team.name}{team.points}