summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/games_public.pug8
-rw-r--r--views/info.pug10
2 files changed, 9 insertions, 9 deletions
diff --git a/views/games_public.pug b/views/games_public.pug
index e1a5387..b91dd61 100644
--- a/views/games_public.pug
+++ b/views/games_public.pug
@@ -1,8 +1,8 @@
//- 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 open_games = games0.filter(game => game.status === 0 && !game.is_ready)
+- let ready_games = games0.filter(game => game.status === 0 && game.is_ready)
+- let replacement_games = games0.filter(game => game.status === 1 && !game.is_ready)
+- let active_games = games1.filter(game => game.status === 1 && game.is_ready)
doctype html
html
head
diff --git a/views/info.pug b/views/info.pug
index d60f79f..8eb1d40 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -1,9 +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)
+- let open_games = games0.filter(game => game.status === 0 && !game.is_ready)
+- let ready_games = games0.filter(game => game.status === 0 && game.is_ready)
+- let replacement_games = games1.filter(game => game.status === 1 && !game.is_ready)
+- let active_games = games1.filter(game => game.status === 1 && game.is_ready)
+- let finished_games = games2
doctype html
html
head