summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile.pug')
-rw-r--r--views/profile.pug6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/profile.pug b/views/profile.pug
index 6fb777a..5c98743 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -33,6 +33,10 @@ html
br
| &#xbb; <a href="/logout">Logout</a>
+ if ready_games.length > 0
+ h2 Ready to start
+ +gametable(0,ready_games)
+
if open_games.length > 0
h2 Open games
+gametable(0,open_games)
@@ -45,5 +49,5 @@ html
h2 Finished games
+gametable(2,finished_games)
- if open_games.length === 0 && active_games.length === 0 && finished_games.length === 0
+ if open_games.length === 0 && ready_games.length === 0 && active_games.length === 0 && finished_games.length === 0
p You don't have any current or finished games.