summaryrefslogtreecommitdiff
path: root/views/user.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/user.pug')
-rw-r--r--views/user.pug7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/user.pug b/views/user.pug
index ce5b5f0..06fa91d 100644
--- a/views/user.pug
+++ b/views/user.pug
@@ -40,10 +40,12 @@ html
else
a(href="/contacts/add-friend/"+who.name) Add to friends
br
- a(href="/contacts/add-enemy/"+who.name) Blacklist user
+ a(href="/contacts/add-enemy/"+who.name) Add to blacklist
+
+ +tourlist(null, active_pools, finished_pools)
if open_games.length > 0
- h2 Open
+ h2 Invitations
+gamelist(open_games)
if active_games.length > 0
@@ -63,6 +65,7 @@ html
+gamelist(finished_games)
p <a href="/games/finished/#{who.name}">All #{who.name}'s finished games</a>
+ p <a href="/tm/finished/#{who.name}">All #{who.name}'s finished tournaments</a>
if user && user.user_id === 1
if who.is_banned