summaryrefslogtreecommitdiff
path: root/views/games.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/games.ejs')
-rw-r--r--views/games.ejs3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/games.ejs b/views/games.ejs
index a355910..e25df1f 100644
--- a/views/games.ejs
+++ b/views/games.ejs
@@ -33,10 +33,9 @@ td.nowrap a { color: black; text-decoration: none; }
<td><%= row.player_names %>
<td><%= row.description %>
<td class="nowrap"><%= row.mtime %>
-<td><%= row.active_role %>
+<td class="<%= row.is_your_turn ? "is_your_turn" : "" %>"><%= row.active_role %>
<td><a href="/join/<%= row.game_id %>">Enter</a>
<% }); } else { %>
<tr><td colspan="8">No active games.
<% } %>
</table>
-