From f5598b5b6ae749edf81e6b8856def815315037df Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 3 Apr 2022 13:31:03 +0200 Subject: Don't show options in game overview lists. --- views/head.pug | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views') 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 -- cgit v1.2.3