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>
<table>
<tr class="font-bold border-b">
{#each Array(rows) as i (i)}
<td>{t("announcements.table.time")}</td>
<td>{t("announcements.table.blue")}</td>
<td>{t("announcements.table.red")}</td>
<td>{t("announcements.table.winner")}</td>
{/each}
</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>
<thead>
<tr class="font-bold border-b">
{#each Array(rows) as i (i)}
<td>{t("announcements.table.time")}</td>
<td>{t("announcements.table.blue")}</td>
<td>{t("announcements.table.red")}</td>
<td>{t("announcements.table.winner")}</td>
{/each}
</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>
</div>

Datei anzeigen

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