From 4893b04955ee32c0f98c0f5a51804916a5713f89 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 3 Nov 2024 23:17:26 +0100 Subject: Don't show pool size in "Registered" panel. --- public/join.js | 2 ++ views/tm_seed.pug | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/join.js b/public/join.js index 9228481..286e400 100644 --- a/public/join.js +++ b/public/join.js @@ -329,6 +329,8 @@ function create_game_list() { if (game.pool_name) { create_game_list_item(list, "Tournament", `${game.pool_name}`) + if (game.scenario !== "Standard") + create_game_list_item(list, "Scenario", game.scenario) } else { if (game.scenario !== "Standard") create_game_list_item(list, "Scenario", game.scenario) diff --git a/views/tm_seed.pug b/views/tm_seed.pug index ee226bc..81574ca 100644 --- a/views/tm_seed.pug +++ b/views/tm_seed.pug @@ -57,7 +57,7 @@ html th Level #{ix+1} else th Registered - td.r #{queue.length} / #{seed.pool_size} + td.r #{queue.length} tbody tr if queue.length > 0 -- cgit v1.2.3