summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/head.pug5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug
index f388ce5..61ca688 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -86,7 +86,10 @@ mixin gamelist(list,hide_title=0)
case item.status
when 0
- a(class="command" href=`/join/${item.game_id}`) Join
+ if item.is_match
+ a(class="command" href="/join/"+item.game_id) Wait
+ else
+ a(class="command" href="/join/"+item.game_id) Join
when 1
if !item.is_ready
a(class="command" href="/join/"+item.game_id) Join