diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-04-15 14:34:49 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-04-15 14:34:49 +0200 |
commit | 8eb1b2f8c4565be28531a057a747cda14512f444 (patch) | |
tree | 7fd4cb45adbc35fb3214284791ce6b646f324e83 /views/header.pug | |
parent | dadc4ca510d5e45e270faa04775f377d8ff40412 (diff) | |
download | server-8eb1b2f8c4565be28531a057a747cda14512f444.tar.gz |
Separate profile and active game list pages.
Also show number of games where it is your turn in the header.
Only show finished games from last week on active games page.
Add separate finished games page to see all of them.
# Conflicts:
# views/tournament-games.pug
Diffstat (limited to 'views/header.pug')
-rw-r--r-- | views/header.pug | 4 |
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 |