diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-03 23:17:26 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-03 23:17:26 +0100 |
commit | 4893b04955ee32c0f98c0f5a51804916a5713f89 (patch) | |
tree | 6dce53468aa609faaab71ba1618f8c6dc13525a5 | |
parent | 3c0df0cfaf0d3e52b9d7ec166a468e09d0cdf5a9 (diff) | |
download | server-4893b04955ee32c0f98c0f5a51804916a5713f89.tar.gz |
Don't show pool size in "Registered" panel.
-rw-r--r-- | public/join.js | 2 | ||||
-rw-r--r-- | views/tm_seed.pug | 2 |
2 files changed, 3 insertions, 1 deletions
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", `<a href="/tm/pool/${game.pool_name}">${game.pool_name}</a>`) + 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 |