summaryrefslogtreecommitdiffstats
path: root/client/components/main
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-31 16:01:42 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-31 16:34:51 +0200
commit72fe5fd47e92c7286e9adbb133de02f347eb4bd7 (patch)
tree6b732f966b4a7acb4d0def9d93e71bb9d805e25c /client/components/main
parentd644cba38ff06369cc43c1ebd08d344fd1d248ea (diff)
downloadwekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.tar.gz
wekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.tar.bz2
wekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.zip
Fixes some UI bugs on sandstorm
Diffstat (limited to 'client/components/main')
-rw-r--r--client/components/main/header.jade12
1 files changed, 10 insertions, 2 deletions
diff --git a/client/components/main/header.jade b/client/components/main/header.jade
index 9eeb843b..71250aae 100644
--- a/client/components/main/header.jade
+++ b/client/components/main/header.jade
@@ -37,8 +37,16 @@ template(name="header")
else if($eq currentRouteName 'home')
+headerTitle
- a.wekan-logo(href="{{pathFor 'home'}}")
- img(src="/wekan-logo-header.png" alt="Wekan")
+ //-
+ 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
+ the list of all boards.
+ if isSandstorm
+ .wekan-logo
+ img(src="/wekan-logo-header.png" alt="Wekan")
+ else
+ a.wekan-logo(href="{{pathFor 'home'}}")
+ img(src="/wekan-logo-header.png" alt="Wekan")
template(name="headerTitle")
h1 My Boards