Translate tournament names on Homepage

pull/9852/head
kraktus 2021-09-21 17:12:18 +02:00
parent 6e4fdbaa14
commit 83d74e331d
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@ object bits {
)
}
def enterable(tours: List[Tournament]) =
def enterable(tours: List[Tournament])(implicit ctx: Context) =
table(cls := "tournaments")(
tours map { tour =>
tr(
td(cls := "name")(
a(cls := "text", dataIcon := tournamentIconChar(tour), href := routes.Tournament.show(tour.id))(
tour.name
tour.name(full = false)
)
),
tour.schedule.fold(td) { s =>