From 419b6653b5177e599558991aaa6dbe71803a0f87 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 21 Oct 2024 12:29:28 +0200 Subject: Use env to control presence of tournaments. --- views/user.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/user.pug') 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 All #{who.name}'s finished games - p All #{who.name}'s finished tournaments + if ENABLE_TOURNAMENTS + p All #{who.name}'s finished tournaments if user && user.user_id === 1 if who.is_banned -- cgit v1.2.3