From 8fc73f75669b97f4ee3f542680390db0fec6c5a0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 14 Nov 2024 22:41:35 +0100 Subject: Always show "Open" category on game pages. --- views/info.pug | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'views/info.pug') 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 -- cgit v1.2.3