diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-31 17:20:15 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-31 17:20:15 +0100 |
commit | be9037c5df8d155302c762b26e09ffab7d9124e5 (patch) | |
tree | a41d343704b667483e3c2ee7cb49b1d8ba62e761 | |
parent | 026745e2455bca354f6cc75d954b86f919351f5d (diff) | |
download | server-be9037c5df8d155302c762b26e09ffab7d9124e5.tar.gz |
Show options in tournament info box.
-rw-r--r-- | server.js | 1 | ||||
-rw-r--r-- | views/tm_seed.pug | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -221,6 +221,7 @@ app.locals.PACE_TEXT = [ ] app.locals.human_date = human_date +app.locals.format_options = format_options app.set("x-powered-by", false) app.set("etag", false) diff --git a/views/tm_seed.pug b/views/tm_seed.pug index 8fd3ce7..ee226bc 100644 --- a/views/tm_seed.pug +++ b/views/tm_seed.pug @@ -30,6 +30,10 @@ html tr td Scenario td #{seed.scenario} + if seed.options !== "{}" + tr + td Options + td #{format_options(seed.options)} if seed.pace tr td Pace |