summaryrefslogtreecommitdiff
path: root/views/header.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-21 12:29:28 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-21 12:29:28 +0200
commit419b6653b5177e599558991aaa6dbe71803a0f87 (patch)
tree5bdae749f1b44e1525c122fb983fe78aa0cacecb /views/header.pug
parent2d1c2728bece17648328aa7de4e74b369edd792c (diff)
downloadserver-419b6653b5177e599558991aaa6dbe71803a0f87.tar.gz
Use env to control presence of tournaments.
Diffstat (limited to 'views/header.pug')
-rw-r--r--views/header.pug3
1 files changed, 2 insertions, 1 deletions
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})