Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/Round.scala
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ final class Round(
}

def help = Open:
Ok.snip(lila.web.ui.help.round)
Ok.snip(lila.web.ui.help.round(ctx.kid.no))
5 changes: 4 additions & 1 deletion modules/web/src/main/ui/help.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object help:
.map: letter =>
frag(s"${letter.capitalize} = ", phonetic(letter), ". ")

def round(using Translate) =
def round(hasChat: Boolean)(using Translate) =
frag(
h2(trans.site.keyboardShortcuts()),
table(
Expand All @@ -45,6 +45,9 @@ object help:
header(trans.site.other()),
flip,
zen,
hasChat.option(
row(kbd("c"), trans.site.focusChat())
),
helpDialog
)
)
Expand Down