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/games.ejs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/games.ejs') diff --git a/views/games.ejs b/views/games.ejs index acb94b6..3b3f485 100644 --- a/views/games.ejs +++ b/views/games.ejs @@ -31,7 +31,11 @@ <%= row.description %> <%= row.mtime %> "><%= row.active %> +<% if (row.is_yours) { %> Enter +<% } else { %> +View +<% } %> <% }); } else { %> No active games. <% } %> -- cgit v1.2.3