From f8aaf2a6f573b15777601c38513d9a7c869f1462 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 16 Jul 2021 13:15:07 +0200 Subject: Rewrite is_your_turn SQL statements. Now they should work in all lobby views. --- views/games.ejs | 3 +-- views/info.ejs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'views') 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; } <%= row.player_names %> <%= row.description %> <%= row.mtime %> -<%= row.active_role %> +"><%= row.active_role %> Enter <% }); } else { %> No active games. <% } %> - diff --git a/views/info.ejs b/views/info.ejs index fdfc974..778974e 100644 --- a/views/info.ejs +++ b/views/info.ejs @@ -38,7 +38,7 @@ Read more about the game on <%= row.player_names %> <%= row.description %> <%= row.mtime %> -<%= row.active_role %> +"><%= row.active_role %> Enter <% }); %> -- cgit v1.2.3