diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-21 19:20:27 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-12-21 19:20:27 +0100 |
commit | 17a2118b3883aef4ec4304850bad448f704e95cc (patch) | |
tree | 955faeb8cc6371338d99e52967b0eae71175556e /client | |
parent | 9b9d21030b2118be6b91eb413eac40d98e3ac0b9 (diff) | |
download | wekan-17a2118b3883aef4ec4304850bad448f704e95cc.tar.gz wekan-17a2118b3883aef4ec4304850bad448f704e95cc.tar.bz2 wekan-17a2118b3883aef4ec4304850bad448f704e95cc.zip |
Don't display sing-in link to connected users
Diffstat (limited to 'client')
-rw-r--r-- | client/components/main/layouts.jade | 5 |
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}}} |