summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-13 14:36:12 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-13 14:40:59 +0100
commita1e140a126a2a2121bb56230e87e00bb92cbd9a5 (patch)
tree0b9af8f6980e9dadfd4bd0730a10f7bf466891b3
parent3ac13cd9cc09c190b273a772320b7fe2ed4655a1 (diff)
downloadserver-a1e140a126a2a2121bb56230e87e00bb92cbd9a5.tar.gz
More consistent Enter / Play / View in game boxes.
-rw-r--r--views/head.pug12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/head.pug b/views/head.pug
index dc7cf93..d8a8ad6 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -77,25 +77,25 @@ mixin gamelist(list,hide_title=0)
case item.status
when 0
- a(class="command" href=`/join/${item.game_id}`) Join
+ a(class="command" href=`/join/${item.game_id}`) Enter
when 1
if !item.is_ready
- a(class="command" href="/join/"+item.game_id) Join
+ a(class="command" href="/join/"+item.game_id) Enter
else if item.is_yours
if item.your_role
a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=${encodeURIComponent(item.your_role)}`) Play
else
- a(class="command" href="/join/"+item.game_id) Play
+ a(class="command" href="/join/"+item.game_id) Enter
else
a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=Observer`) View
when 2
if item.is_yours
if item.your_role
- a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=${encodeURIComponent(item.your_role)}`) Review
+ a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=${encodeURIComponent(item.your_role)}`) Play
else
- a(class="command" href="/join/"+item.game_id) Review
+ a(class="command" href="/join/"+item.game_id) Enter
else
- a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=Observer`) Review
+ a(class="command" href=`/${item.title_id}/play.html?game=${item.game_id}&role=Observer`) View
when 3
| Archived