From 072766b71f9441fdd2796b8dd1137b90acd5a561 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 12 Jun 2022 16:42:33 +0200 Subject: List playing and recently finished games on user pages. --- views/games_active.pug | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'views/games_active.pug') diff --git a/views/games_active.pug b/views/games_active.pug index 16d8ceb..a72a203 100644 --- a/views/games_active.pug +++ b/views/games_active.pug @@ -13,24 +13,23 @@ html if ready_games.length > 0 h2 Ready to start - +gamelist(ready_games, "ready") + +gamelist(ready_games) if open_games.length > 0 h2 Open - +gamelist(open_games, "open") + +gamelist(open_games) if replacement_games.length > 0 h2 Need replacement - +gamelist(replacement_games, "replacement") + +gamelist(replacement_games) if active_games.length > 0 h2 Active - +gamelist(active_games, "active") - + +gamelist(active_games) if finished_games.length > 0 h2 Recently finished - +gamelist(finished_games, "finished") + +gamelist(finished_games) p All your finished games -- cgit v1.2.3