diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-14 22:41:35 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-14 22:41:46 +0100 |
commit | 8fc73f75669b97f4ee3f542680390db0fec6c5a0 (patch) | |
tree | d3878b0a256914e8ccd7120f4ed4e96a9d989aa7 /views/info.pug | |
parent | dbd8f0fa5665a94737a5dcb5f83cbd418127f826 (diff) | |
download | server-8fc73f75669b97f4ee3f542680390db0fec6c5a0.tar.gz |
Always show "Open" category on game pages.
Diffstat (limited to 'views/info.pug')
-rw-r--r-- | views/info.pug | 10 |
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 |