summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-12 12:54:00 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-13 14:40:59 +0100
commit3ac13cd9cc09c190b273a772320b7fe2ed4655a1 (patch)
treeb39c67d12516732dd24e17ce56126d395ef36cb9 /views/join.pug
parente812ada4db11536fd8ddfb67410c436d792909b1 (diff)
downloadserver-3ac13cd9cc09c190b273a772320b7fe2ed4655a1.tar.gz
Prefix game IDs with #.
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/join.pug b/views/join.pug
index bfb0cb8..c3960b7 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -6,7 +6,7 @@ html
+social(game.title_name,
"Play " + game.title_name + " with " + players.map(x=>x.name).join(" and ") + ".",
game.title_id)
- title= game.title_name
+ title ##{game.game_id} - #{game.title_name}
style.
th,td { border: var(--table-border); }
a.red { text-decoration: none; color: var(--color-red); font-size: 15px; float: right; }
@@ -33,9 +33,9 @@ html
include header
article
if game.scenario === "Standard"
- h1 #{game.title_name}
+ h1 ##{game.game_id} - #{game.title_name}
else
- h1 #{game.title_name} - #{game.scenario}
+ h1 ##{game.game_id} - #{game.title_name} - #{game.scenario}
div.logo
+gamecover(game.title_id)