summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-22 00:38:01 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-22 00:38:18 +0200
commitce767b57fcb916838be65f317e38c1a54f4f2258 (patch)
tree4e1140efc618b4e3caf6f3d2f87a1db32ebe8f04 /views/join.pug
parent598313adbd56d342e47093e14b510a70eb6235a7 (diff)
downloadserver-ce767b57fcb916838be65f317e38c1a54f4f2258.tar.gz
Show finished result in join pages.
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/join.pug b/views/join.pug
index 39d2ff9..7a929d1 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -32,15 +32,15 @@ html
div.logo
+gamecover(game.title_id)
- p
+ div
if game.is_private
| Owner: #{game.owner_name} (private)
else
| Owner: #{game.owner_name}
- br
- | Scenario: #{game.scenario}
- br
- | Options: #{game.human_options}
+ div Scenario: #{game.scenario}
+ div Options: #{game.human_options}
+ if game.status === 2
+ div Result: !{game.result}
p= game.description || "No description."