diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-08 16:05:59 -0500 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-12-09 19:10:26 -0500 |
commit | 71b9a42f00d8871bb09944ec80979c61ad84e655 (patch) | |
tree | 4ede6eaaea591a0b1c797498a6a8daaaa6cac489 /client/components/main/header.jade | |
parent | 3b2eb0ffa12a0b3cc2eaa0a1e26ed6532e3f5d93 (diff) | |
download | wekan-71b9a42f00d8871bb09944ec80979c61ad84e655.tar.gz wekan-71b9a42f00d8871bb09944ec80979c61ad84e655.tar.bz2 wekan-71b9a42f00d8871bb09944ec80979c61ad84e655.zip |
Allow the header bar customization
This commit also provide a way to escape the Shorcuts page on
Sandstorm.
Diffstat (limited to 'client/components/main/header.jade')
-rw-r--r-- | client/components/main/header.jade | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/client/components/main/header.jade b/client/components/main/header.jade index 86dfd6a7..0d178250 100644 --- a/client/components/main/header.jade +++ b/client/components/main/header.jade @@ -32,10 +32,7 @@ template(name="header") current page. This bar is contextual based. If the user is not connected we display "sign in" and "log in" buttons. #header-main-bar(class="{{#if wrappedHeader}}wrapper{{/if}}") - if $.Session.get 'currentBoard' - +headerBoard - else if($eq currentRouteName 'home') - +headerTitle + +Template.dynamic(template=headerBar) //- On sandstorm, the logo shouldn't be clickable, because we only have one @@ -47,11 +44,3 @@ template(name="header") else a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}") img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan") - -template(name="headerTitle") - h1 {{_ 'my-boards'}} - - .board-header-btns.right - a.board-header-btn.js-open-archived-board - i.fa.fa-archive - span {{_ 'archives'}} |