summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-02-13 00:44:42 +0100
committerTor Andersson <tor@ccxvii.net>2022-02-15 12:18:30 +0100
commit362b18a3a6f11c1a4c19c25201661d7e5010cc58 (patch)
treebc3b80eb01812d9283e77386d702ed0aba6665be /views
parent87eb7db7edac63fb82f0f144d08a12c409609800 (diff)
downloadserver-362b18a3a6f11c1a4c19c25201661d7e5010cc58.tar.gz
Show optional rules in scenario column.
Diffstat (limited to 'views')
-rw-r--r--views/head.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/head.pug b/views/head.pug
index 1fb90c6..3787bc5 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -57,10 +57,10 @@ mixin gametable(status,table,hide_title=0)
tbody
each row in table
tr
- td= row.game_id
+ td: a(href="/join/"+row.game_id)= row.game_id
unless hide_title
td.w: a(href="/"+row.title_id)= row.title_name
- td.w= row.scenario
+ td.w= row.options !== "None" ? row.scenario + ", " + row.options : row.scenario
if row.player_names
td!= row.player_names
else