From 1b00b4c94c0722436d5410f7940349f30db2094a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 28 Jan 2022 13:53:47 +0100 Subject: Show "Nobody" in player column on unjoined games. --- views/head.pug | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views') 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 -- cgit v1.2.3