summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-29 00:28:42 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-29 00:32:56 +0100
commit4b63dd6d32c4b195a0ded4705c4da4d5b1c83f9e (patch)
treef8637ef781aec07417182ba06191e095e39b1a9b
parent44e8926ec4a4755cd7588831648aed842a07002e (diff)
downloadserver-4b63dd6d32c4b195a0ded4705c4da4d5b1c83f9e.tar.gz
Rename "Join" to "Wait" for Future games.HEADmaster
-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