summaryrefslogtreecommitdiff
path: root/views/info.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/info.pug')
-rw-r--r--views/info.pug5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/info.pug b/views/info.pug
index 24425e5..62698c9 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -1,4 +1,9 @@
//- vim:ts=4:sw=4:
+- let open_games = games.filter(game => game.status === 0 && !game.is_ready)
+- let ready_games = games.filter(game => game.status === 0 && game.is_ready)
+- let replacement_games = games.filter(game => game.status === 1 && !game.is_ready)
+- let active_games = games.filter(game => game.status === 1 && game.is_ready)
+- let finished_games = games.filter(game => game.status === 2)
doctype html
html
head