summaryrefslogtreecommitdiff
path: root/views/header.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/header.pug')
-rw-r--r--views/header.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/header.pug b/views/header.pug
index 7eb357b..9d869f0 100644
--- a/views/header.pug
+++ b/views/header.pug
@@ -5,6 +5,10 @@ header
a(href="/about") About
a(href="/forum") Forum
if user
+ if user.active > 0
+ a(href="/games/active") Games (#{user.active})
+ else
+ a(href="/games/active") Games
if user.unread > 0
a(href="/inbox") Inbox (#{user.unread})
else