summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/head.pug1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/head.pug b/views/head.pug
index 4df5759..6ea9285 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -44,6 +44,7 @@ mixin gamelist(list,hide_title=0)
-
let className = "game_item"
if (item.your_turn) className += " your_turn"
+ if (item.is_unread) className += " unread"
if (item.status === 0 && !item.is_ready) className += " open"
else if (item.status === 0 && item.is_ready) className += " ready"
else if (item.status === 1 && !item.is_ready) className += " replacement"