summaryrefslogtreecommitdiff
path: root/views/games_public.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-08 21:53:40 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-09 17:42:23 +0200
commitff4bc953f16002befbd6cf8dd120a96cfeca26fe (patch)
tree0aef045b9338a3bb1ac522fefb557bf8f54d746b /views/games_public.pug
parent68df9a26cda411be54403883baa752c38e15e797 (diff)
downloadserver-ff4bc953f16002befbd6cf8dd120a96cfeca26fe.tar.gz
Allow users to leave and join active games.
Add "Need replacement" list of games.
Diffstat (limited to 'views/games_public.pug')
-rw-r--r--views/games_public.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/games_public.pug b/views/games_public.pug
index 267c8f7..4af36bd 100644
--- a/views/games_public.pug
+++ b/views/games_public.pug
@@ -14,6 +14,10 @@ html
h2 Open
+gametable(0, open_games)
+ if replacement_games.length > 0
+ h2 Need replacement
+ +gametable(0, replacement_games)
+
if ready_games.length > 0
h2 Ready to start
+gametable(0, ready_games)