summaryrefslogtreecommitdiffstats
path: root/client/components/main/header.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-20 02:46:35 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-20 02:46:35 +0200
commitd93efd9e9bc3d5ace168b011a39f530b7cd098a0 (patch)
treea9686981f78df0a1ce1fb52ddf0be2d9fe4208b3 /client/components/main/header.jade
parenteab46523ee94cda348440e1c11ece209599b2e0f (diff)
parentf84bad13b4427cbaf2e1333869270cada09383a4 (diff)
downloadwekan-d93efd9e9bc3d5ace168b011a39f530b7cd098a0.tar.gz
wekan-d93efd9e9bc3d5ace168b011a39f530b7cd098a0.tar.bz2
wekan-d93efd9e9bc3d5ace168b011a39f530b7cd098a0.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'client/components/main/header.jade')
-rw-r--r--client/components/main/header.jade6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/components/main/header.jade b/client/components/main/header.jade
index 2751c0cc..e21ce096 100644
--- a/client/components/main/header.jade
+++ b/client/components/main/header.jade
@@ -47,6 +47,7 @@ template(name="header")
+Template.dynamic(template=headerBar)
unless hideLogo
+
//-
On sandstorm, the logo shouldn't be clickable, because we only have one
page/document on it, and we don't want to see the home page containing
@@ -55,8 +56,9 @@ template(name="header")
.wekan-logo
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
else
- a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
- img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
+ unless currentSetting.hideLogo
+ a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
+ img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
if appIsOffline
+offlineWarning