summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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