mirror of
https://github.com/wekan/wekan.git
synced 2026-03-01 11:20:15 +01:00
Allow the header bar customization
This commit also provide a way to escape the Shorcuts page on Sandstorm.
This commit is contained in:
parent
3b2eb0ffa1
commit
71b9a42f00
12 changed files with 98 additions and 50 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Template.headerTitle.events({
|
||||
Template.boardHeaderBar.events({
|
||||
'click .js-open-archived-board'() {
|
||||
Modal.open('archivedBoards');
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
template(name="headerBoard")
|
||||
template(name="boardHeaderBar")
|
||||
h1.header-board-menu
|
||||
with currentBoard
|
||||
a(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}")
|
||||
|
|
|
|||
|
|
@ -23,3 +23,12 @@ template(name="boardList")
|
|||
p.board-list-item-desc= description
|
||||
li.js-add-board
|
||||
a.board-list-item.label {{_ 'add-board'}}
|
||||
|
||||
|
||||
template(name="boardListHeaderBar")
|
||||
h1 {{_ 'my-boards'}}
|
||||
|
||||
.board-header-btns.right
|
||||
a.board-header-btn.js-open-archived-board
|
||||
i.fa.fa-archive
|
||||
span {{_ 'archives'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue