summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-14 22:41:35 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-14 22:41:46 +0100
commit8fc73f75669b97f4ee3f542680390db0fec6c5a0 (patch)
treed3878b0a256914e8ccd7120f4ed4e96a9d989aa7 /views
parentdbd8f0fa5665a94737a5dcb5f83cbd418127f826 (diff)
downloadserver-8fc73f75669b97f4ee3f542680390db0fec6c5a0.tar.gz
Always show "Open" category on game pages.
Diffstat (limited to 'views')
-rw-r--r--views/info.pug10
1 files changed, 6 insertions, 4 deletions
diff --git a/views/info.pug b/views/info.pug
index 2ffd8f0..32837e9 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -17,17 +17,19 @@ html
p Read more about the game on #[a(href="https://boardgamegeek.com/boardgame/"+title.bgg) boardgamegeek.com].
+ h2 Open
if open_games.length > 0
- h2 Open
+gamelist(open_games, true)
+ else
+ p No open games right now.
+
+ p
+ a(href="/create/"+title.title_id) Create a new game
if replacement_games.length > 0
h2 Open (missing players)
+gamelist(replacement_games, true)
- p
- a(href="/create/"+title.title_id) Create a new game
-
+tourlist(seeds, active_pools, finished_pools)
if active_games.length > 0