From 4cfbe0019331c8fb2d381606806e6bea253ca14a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 15 Jan 2022 23:00:42 +0100 Subject: Separate open and ready to start game lists. --- views/head.pug | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/head.pug') diff --git a/views/head.pug b/views/head.pug index df1b762..e65fca2 100644 --- a/views/head.pug +++ b/views/head.pug @@ -75,7 +75,10 @@ mixin gametable(status,table,hide_title=0) td= row.result td.command if status === 0 - a(href="/join/"+row.game_id) Join + if row.is_ready + a(href="/join/"+row.game_id) Enter + else + a(href="/join/"+row.game_id) Join else if status === 1 if row.is_yours if row.is_shared -- cgit v1.2.3