Fix Build
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2024-11-24 23:00:44 +01:00
Ursprung 72933a46d1
Commit 0ab7d204f2
2 geänderte Dateien mit 39 neuen und 31 gelöschten Zeilen

Datei anzeigen

@ -44,27 +44,31 @@
<div> <div>
<table> <table>
<tr class="font-bold border-b"> <thead>
{#each Array(rows) as i (i)} <tr class="font-bold border-b">
<td>{t("announcements.table.time")}</td> {#each Array(rows) as i (i)}
<td>{t("announcements.table.blue")}</td> <td>{t("announcements.table.time")}</td>
<td>{t("announcements.table.red")}</td> <td>{t("announcements.table.blue")}</td>
<td>{t("announcements.table.winner")}</td> <td>{t("announcements.table.red")}</td>
{/each} <td>{t("announcements.table.winner")}</td>
</tr>
{#each window(event.fights.filter(f => f.group === group), rows) as fights}
<tr>
{#each fights as fight (fight.id)}
<td>{Intl.DateTimeFormat(astroI18n.locale, {
hour: "numeric",
minute: "numeric",
}).format(new Date(fight.start))}</td>
<td class:font-bold={fight.ergebnis === 1} class:italic={fight.ergebnis === 3}>{fight.blueTeam.kuerzel}</td>
<td class:font-bold={fight.ergebnis === 2} class:italic={fight.ergebnis === 3}>{fight.redTeam.kuerzel}</td>
<td>{getWinner(fight)}</td>
{/each} {/each}
</tr> </tr>
{/each} </thead>
<tbody>
{#each window(event.fights.filter(f => f.group === group), rows) as fights}
<tr>
{#each fights as fight (fight.id)}
<td>{Intl.DateTimeFormat(astroI18n.locale, {
hour: "numeric",
minute: "numeric",
}).format(new Date(fight.start))}</td>
<td class:font-bold={fight.ergebnis === 1} class:italic={fight.ergebnis === 3}>{fight.blueTeam.kuerzel}</td>
<td class:font-bold={fight.ergebnis === 2} class:italic={fight.ergebnis === 3}>{fight.redTeam.kuerzel}</td>
<td>{getWinner(fight)}</td>
{/each}
</tr>
{/each}
</tbody>
</table> </table>
</div> </div>

Datei anzeigen

@ -50,20 +50,24 @@
<div> <div>
<table> <table>
<tr class="font-bold border-b"> <thead>
{#each Array(rows) as i (i)} <tr class="font-bold border-b">
<td>{t("announcements.table.team")}</td> {#each Array(rows) as i (i)}
<td>{t("announcements.table.points")}</td> <td>{t("announcements.table.team")}</td>
{/each} <td>{t("announcements.table.points")}</td>
</tr>
{#each window(teamPoints, rows) as teams}
<tr>
{#each teams as team (team.team.id)}
<td>{team.team.name}</td>
<td>{team.points}</td>
{/each} {/each}
</tr> </tr>
{/each} </thead>
<tbody>
{#each window(teamPoints, rows) as teams}
<tr>
{#each teams as team (team.team.id)}
<td>{team.team.name}</td>
<td>{team.points}</td>
{/each}
</tr>
{/each}
</tbody>
</table> </table>
</div> </div>