mirror of
https://github.com/wekan/wekan.git
synced 2026-01-15 22:15:28 +01:00
Fixes some UI bugs on sandstorm
This commit is contained in:
parent
d644cba38f
commit
72fe5fd47e
5 changed files with 21 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue