diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-11-29 11:29:43 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-11-29 11:29:43 +0200 |
commit | 5d8462ca11abcbfd19bef6c1a46d9eb6266990df (patch) | |
tree | 3b4aa2354e46c2a15dacabffc39769511b69ef00 /client/components/main/header.jade | |
parent | 7e4b42e9b3482460cac77a603809a8b5d4016477 (diff) | |
parent | c31d7455f7b7de4198ee46c59fe0886c54bf457c (diff) | |
download | wekan-5d8462ca11abcbfd19bef6c1a46d9eb6266990df.tar.gz wekan-5d8462ca11abcbfd19bef6c1a46d9eb6266990df.tar.bz2 wekan-5d8462ca11abcbfd19bef6c1a46d9eb6266990df.zip |
Merge branch 'conflict-resolution-458' of https://github.com/nztqa/wekan into nztqa-conflict-resolution-458
Diffstat (limited to 'client/components/main/header.jade')
-rw-r--r-- | client/components/main/header.jade | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/client/components/main/header.jade b/client/components/main/header.jade index 51bccd09..dd071b3e 100644 --- a/client/components/main/header.jade +++ b/client/components/main/header.jade @@ -7,19 +7,31 @@ template(name="header") unless isSandstorm if currentUser #header-quick-access(class=currentBoard.colorClass) - ul - li - a(href="{{pathFor 'home'}}") - span.fa.fa-home - | {{_ 'all-boards'}} - each currentUser.starredBoards - li.separator - - li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}") - a(href="{{pathFor 'board' id=_id slug=slug}}") - = title - else - li.current {{_ 'quick-access-description'}} + if isMiniScreen + ul + li + a(href="{{pathFor 'home'}}") + span.fa.fa-home + if currentList + each currentBoard.lists + li(class="{{#if $.Session.equals 'currentList' _id}}current{{/if}}") + a.js-select-list + = title + #header-new-board-icon + else + ul + li + a(href="{{pathFor 'home'}}") + span.fa.fa-home + | {{_ 'all-boards'}} + each currentUser.starredBoards + li.separator - + li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}") + a(href="{{pathFor 'board' id=_id slug=slug}}") + = title + else + li.current {{_ 'quick-access-description'}} a#header-new-board-icon.js-create-board i.fa.fa-plus(title="Create a new board") |