summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug12
1 files changed, 7 insertions, 5 deletions
diff --git a/views/join.pug b/views/join.pug
index 0f9daef..2e6bf08 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -43,11 +43,13 @@ html
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>
+
+ if game.owner_id
+ 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 Created: #{game.ctime}
unless game.mtime === "never"