From 7b5ce7d3949755c12b663531ab5d0b3d3051de34 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 16 Nov 2021 16:34:01 +0100 Subject: Drop socket.io-passport module. Allow viewing games as guest. --- views/info.ejs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'views/info.ejs') diff --git a/views/info.ejs b/views/info.ejs index f97b04e..7c98e21 100644 --- a/views/info.ejs +++ b/views/info.ejs @@ -5,8 +5,6 @@ Read more about the game on boardgamegeek.com. -<% if (user) { %> -

Open Games

IDScenarioPlayersDescriptionCreated @@ -39,7 +37,11 @@ Read more about the game on <%= row.description %> <%= row.mtime %> "><%= row.active %> -Enter +<% if (row.is_yours) { %> +Enter +<% } else { %> +View +<% } %> <% }); %>
<% } %> @@ -56,14 +58,11 @@ Read more about the game on <%= row.description %> <%= row.mtime %> <%= row.result %> -View +<% if (row.is_yours) { %> +Enter +<% } else { %> +View +<% } %> <% }); %> <% } %> - -<% } else { %> - -

-Login to create or join a game. - -<% } %> -- cgit v1.2.3