diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-01-29 00:28:42 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-29 00:32:56 +0100 |
commit | 4b63dd6d32c4b195a0ded4705c4da4d5b1c83f9e (patch) | |
tree | f8637ef781aec07417182ba06191e095e39b1a9b | |
parent | 44e8926ec4a4755cd7588831648aed842a07002e (diff) | |
download | server-4b63dd6d32c4b195a0ded4705c4da4d5b1c83f9e.tar.gz |
-rw-r--r-- | views/head.pug | 5 |
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 |