summaryrefslogtreecommitdiff
path: root/views/info.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/info.pug
parent8175df9f9af2393964f053af5a98851c376e1675 (diff)
downloadserver-072766b71f9441fdd2796b8dd1137b90acd5a561.tar.gz
List playing and recently finished games on user pages.
Diffstat (limited to 'views/info.pug')
-rw-r--r--views/info.pug10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/info.pug b/views/info.pug
index c7083ef..24425e5 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -21,25 +21,25 @@ html
h2 Open
if open_games.length > 0
- +gamelist(open_games, "open", true)
+ +gamelist(open_games, true)
else
p No open games.
if replacement_games.length > 0
h2 Need replacement
- +gamelist(replacement_games, "replacement", true)
+ +gamelist(replacement_games, true)
p
a(href="/create/"+title.title_id) Create a new game
if ready_games.length > 0
h2 Ready to start
- +gamelist(ready_games, "ready", true)
+ +gamelist(ready_games, true)
if active_games.length > 0
h2 Active
- +gamelist(active_games, "active", true)
+ +gamelist(active_games, true)
if finished_games.length > 0
h2 Recently finished
- +gamelist(finished_games, "finished", true)
+ +gamelist(finished_games, true)