diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-04-03 13:31:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-04-03 13:38:29 +0200 |
commit | f5598b5b6ae749edf81e6b8856def815315037df (patch) | |
tree | c3a1d8a11d18937326a19adab653db94a940cac5 /views/head.pug | |
parent | 01f16c46c1001bb77041d45c4f5eec10d9470b4a (diff) | |
download | server-f5598b5b6ae749edf81e6b8856def815315037df.tar.gz |
Don't show options in game overview lists.
Diffstat (limited to 'views/head.pug')
-rw-r--r-- | views/head.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug index 612a54c..c5d70f6 100644 --- a/views/head.pug +++ b/views/head.pug @@ -60,7 +60,10 @@ mixin gametable(status,table,hide_title=0) td: a(href="/join/"+row.game_id)= row.game_id unless hide_title td.w: a(href="/"+row.title_id)= row.title_name - td= row.options !== "None" ? row.scenario + ", " + row.options : row.scenario + if true + td= row.scenario + else + td= row.options !== "None" ? row.scenario + ", " + row.options : row.scenario if row.player_names td!= row.player_names else |