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