diff options
-rw-r--r-- | views/head.pug | 12 |
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 |