summaryrefslogtreecommitdiff
path: root/views/user.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-13 12:48:48 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-13 18:49:00 +0200
commit4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4 (patch)
treea344e7c011b07e83ab0abf57e1aa043a9a81dff2 /views/user.pug
parent88d909a874499f9d3d18e76ff30c1155caa2e48e (diff)
downloadserver-4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4.tar.gz
Tournaments!
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