summaryrefslogtreecommitdiffstats
path: root/client/components/main/layouts.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-12-21 19:20:27 +0100
committerMaxime Quandalle <maxime@quandalle.com>2015-12-21 19:20:27 +0100
commit17a2118b3883aef4ec4304850bad448f704e95cc (patch)
tree955faeb8cc6371338d99e52967b0eae71175556e /client/components/main/layouts.jade
parent9b9d21030b2118be6b91eb413eac40d98e3ac0b9 (diff)
downloadwekan-17a2118b3883aef4ec4304850bad448f704e95cc.tar.gz
wekan-17a2118b3883aef4ec4304850bad448f704e95cc.tar.bz2
wekan-17a2118b3883aef4ec4304850bad448f704e95cc.zip
Don't display sing-in link to connected users
Diffstat (limited to 'client/components/main/layouts.jade')
-rw-r--r--client/components/main/layouts.jade5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/main/layouts.jade b/client/components/main/layouts.jade
index 88d178f5..2095e016 100644
--- a/client/components/main/layouts.jade
+++ b/client/components/main/layouts.jade
@@ -40,5 +40,6 @@ template(name="notFound")
template(name="message")
.big-message.quiet(class=color)
h1 {{_ label}}
- with(pathFor route='atSignIn')
- p {{{_ 'page-maybe-private' this}}}
+ unless currentUser
+ with(pathFor route='atSignIn')
+ p {{{_ 'page-maybe-private' this}}}