summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-28 13:53:47 +0100
committerTor Andersson <tor@ccxvii.net>2022-02-01 01:26:54 +0100
commit1b00b4c94c0722436d5410f7940349f30db2094a (patch)
tree4ab0bf48e05138947abd0123e6a040cd519401b2 /views/head.pug
parented0e6a2ae0dee1e9eb26466d0ffaaf73a3cdf445 (diff)
downloadserver-1b00b4c94c0722436d5410f7940349f30db2094a.tar.gz
Show "Nobody" in player column on unjoined games.
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug
index e65fca2..cb5ab49 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -59,7 +59,10 @@ mixin gametable(status,table,hide_title=0)
unless hide_title
td.w: a(href="/"+row.title_id)= row.title_name
td.w= row.scenario
- td!= row.player_names
+ if row.player_names
+ td!= row.player_names
+ else
+ td.error Nobody
td= row.description
case status
when 0