summaryrefslogtreecommitdiff
path: root/views/games_active.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-12 16:42:33 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-13 20:20:01 +0200
commit072766b71f9441fdd2796b8dd1137b90acd5a561 (patch)
tree27dce1ed3f835a964b8dcf1d5f976d2ac1b507e2 /views/games_active.pug
parent8175df9f9af2393964f053af5a98851c376e1675 (diff)
downloadserver-072766b71f9441fdd2796b8dd1137b90acd5a561.tar.gz
List playing and recently finished games on user pages.
Diffstat (limited to 'views/games_active.pug')
-rw-r--r--views/games_active.pug11
1 files changed, 5 insertions, 6 deletions
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 <a href="/games/finished">All your finished games</a>