From d599d78732c0e7b312e6e366c27577a45edf856e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 5 Oct 2022 16:18:59 +0200 Subject: Track read status of in-game chat messages. --- views/head.pug | 1 + 1 file changed, 1 insertion(+) (limited to 'views') 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" -- cgit v1.2.3