diff options
Diffstat (limited to 'views/user.pug')
-rw-r--r-- | views/user.pug | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/user.pug b/views/user.pug index f3a30f0..fc55b42 100644 --- a/views/user.pug +++ b/views/user.pug @@ -65,7 +65,8 @@ 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 ENABLE_TOURNAMENTS + p <a href="/tm/finished/#{who.name}">All #{who.name}'s finished tournaments</a> if user && user.user_id === 1 if who.is_banned |