diff options
Diffstat (limited to 'views/games_active.pug')
-rw-r--r-- | views/games_active.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/games_active.pug b/views/games_active.pug index 6046b9b..bac7c67 100644 --- a/views/games_active.pug +++ b/views/games_active.pug @@ -11,7 +11,10 @@ doctype html html head include head - title= SITE_NAME + if user.waiting > 0 + title= "Games (" + user.waiting + ")" + else + title Games if active_games.length > 0 meta(http-equiv="refresh" content=600) script window.onunload=function(){} |