summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-15 23:00:42 +0100
committerTor Andersson <tor@ccxvii.net>2022-01-15 23:00:48 +0100
commit4cfbe0019331c8fb2d381606806e6bea253ca14a (patch)
tree2401a00273b7b19bdbefe70a60515a7b00833734 /views/head.pug
parentc3d34c80112b291f13375b477e4fb6d70b59ed0a (diff)
downloadserver-4cfbe0019331c8fb2d381606806e6bea253ca14a.tar.gz
Separate open and ready to start game lists.
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