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/header.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/header.pug') diff --git a/views/header.pug b/views/header.pug index 6df51e6..e6cdeeb 100644 --- a/views/header.pug +++ b/views/header.pug @@ -9,7 +9,8 @@ header if user if ENABLE_FORUM a(href="/forum") Forum - a(href="/tm/list") Tournaments + if ENABLE_TOURNAMENTS + a(href="/tm/list") Tournaments a(href="/games/public") Public if user.waiting > 0 a(href="/games/active") Games (#{user.waiting}) -- cgit v1.2.3