summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug5
1 files changed, 4 insertions, 1 deletions
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