diff options
Diffstat (limited to 'views/head.pug')
-rw-r--r-- | views/head.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/head.pug b/views/head.pug index 78fe0ba..3d2285a 100644 --- a/views/head.pug +++ b/views/head.pug @@ -45,10 +45,10 @@ 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" - else if (item.status === 1 && item.is_ready) className += " active" + if (item.status === 0 && !item.is_full) className += " open" + else if (item.status === 0 && item.is_full) className += " ready" + else if (item.status === 1 && !item.is_full) className += " replacement" + else if (item.status === 1 && item.is_full) className += " active" else if (item.status === 2) className += " finished" div(class=className) |