From 8eb1b2f8c4565be28531a057a747cda14512f444 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 15 Apr 2022 14:34:49 +0200 Subject: 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 --- views/header.pug | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/header.pug') 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 -- cgit v1.2.3