diff --git a/app/features/calendar/routes/calendar.$id.report-winners.tsx b/app/features/calendar/routes/calendar.$id.report-winners.tsx index 3540f2517..ee180c2d3 100644 --- a/app/features/calendar/routes/calendar.$id.report-winners.tsx +++ b/app/features/calendar/routes/calendar.$id.report-winners.tsx @@ -169,7 +169,7 @@ export default function ReportWinnersPage() { return (
-
+

{t("calendar:forms.reportResultsHeader", { eventName: data.name })}

diff --git a/app/features/calendar/routes/calendar.tsx b/app/features/calendar/routes/calendar.tsx index 3af536c9c..6ab46632d 100644 --- a/app/features/calendar/routes/calendar.tsx +++ b/app/features/calendar/routes/calendar.tsx @@ -45,6 +45,8 @@ import { Divider } from "~/components/Divider"; import { UsersIcon } from "~/components/icons/Users"; import * as CalendarRepository from "../CalendarRepository.server"; import { canAddNewEvent } from "../calendar-utils"; +import { Avatar } from "~/components/Avatar"; +import { HACKY_resolvePicture } from "~/features/tournament/tournament-utils"; export const links: LinksFunction = () => { return [{ rel: "stylesheet", href: styles }]; @@ -416,38 +418,49 @@ function EventsList({
-
- -

- {calendarEvent.name}{" "} - {calendarEvent.nthAppearance > 1 ? ( - - {t("day", { - number: calendarEvent.nthAppearance, - })} - - ) : null} -

- - {calendarEvent.participantCounts && - calendarEvent.participantCounts.teams > 0 ? ( -
- {" "} - {t("count.teams", { - count: calendarEvent.participantCounts.teams, - })}{" "} - /{" "} - {t("count.players", { - count: calendarEvent.participantCounts.players, +
+ {calendarEvent.tournamentId ? ( + + /> ) : null} +
+ +

+ {calendarEvent.name}{" "} + {calendarEvent.nthAppearance > 1 ? ( + + {t("day", { + number: calendarEvent.nthAppearance, + })} + + ) : null} +

+ + {calendarEvent.participantCounts && + calendarEvent.participantCounts.teams > 0 ? ( +
+ {" "} + {t("count.teams", { + count: calendarEvent.participantCounts.teams, + })}{" "} + /{" "} + {t("count.players", { + count: + calendarEvent.participantCounts.players, + })} +
+ ) : null} +