summaryrefslogtreecommitdiff
path: root/views/games_active.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_active.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_active.pug')
-rw-r--r--views/games_active.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/games_active.pug b/views/games_active.pug
index 342c673..49d20d8 100644
--- a/views/games_active.pug
+++ b/views/games_active.pug
@@ -19,6 +19,10 @@ html
h2 Open
+gametable(0,open_games)
+ if replacement_games.length > 0
+ h2 Need replacement
+ +gametable(0, replacement_games)
+
if active_games.length > 0
h2 Active
+gametable(1,active_games)