summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-31 23:53:20 +0200
committerTor Andersson <tor@ccxvii.net>2023-04-28 23:36:11 +0200
commit7c0eb693a50dbd2890a5ad1b27516a0a829bbf7c (patch)
tree33bf8e70042b0c67e784ca9483448baacb260602 /views/join.pug
parentb145880739e1770ebeac914b769624d86c39645c (diff)
downloadserver-7c0eb693a50dbd2890a5ad1b27516a0a829bbf7c.tar.gz
Rename game "description" to "notice".
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug18
1 files changed, 14 insertions, 4 deletions
diff --git a/views/join.pug b/views/join.pug
index abbaf2c..0f9daef 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -39,17 +39,27 @@ html
div.logo
+gamecover(game.title_id)
+ div Scenario: #{game.scenario}
+
+ unless game.human_options === "None"
+ div Options: #{game.human_options}
div
if game.is_private
| Owner: <a href="/user/#{game.owner_name}">#{game.owner_name}</a> (private)
else
| Owner: <a href="/user/#{game.owner_name}">#{game.owner_name}</a>
- div Scenario: #{game.scenario}
- div Options: #{game.human_options}
+
+ div Created: #{game.ctime}
+ unless game.mtime === "never"
+ div Changed: #{game.mtime}
+
if game.status === 2
- div Result: !{game.result}
+ div Result: #{game.result}
- p= game.description || "No description."
+ if game.notice
+ br
+ div
+ i= game.notice
br(clear="left")