summaryrefslogtreecommitdiff
path: root/views/games_public.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_public.pug
parent8175df9f9af2393964f053af5a98851c376e1675 (diff)
downloadserver-072766b71f9441fdd2796b8dd1137b90acd5a561.tar.gz
List playing and recently finished games on user pages.
Diffstat (limited to 'views/games_public.pug')
-rw-r--r--views/games_public.pug8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/games_public.pug b/views/games_public.pug
index a681419..9c56402 100644
--- a/views/games_public.pug
+++ b/views/games_public.pug
@@ -13,20 +13,20 @@ html
h2 Open
if open_games.length > 0
- +gamelist(open_games, "open")
+ +gamelist(open_games)
else
p No open games.
if replacement_games.length > 0
h2 Need replacement
- +gamelist(replacement_games, "replacement")
+ +gamelist(replacement_games)
if ready_games.length > 0
h2 Ready to start
- +gamelist(ready_games, "ready")
+ +gamelist(ready_games)
h2 Active
if active_games.length > 0
- +gamelist(active_games, "active")
+ +gamelist(active_games)
else
p No open games.