summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-12-08 16:05:59 -0500
committerMaxime Quandalle <maxime@quandalle.com>2015-12-09 19:10:26 -0500
commit71b9a42f00d8871bb09944ec80979c61ad84e655 (patch)
tree4ede6eaaea591a0b1c797498a6a8daaaa6cac489 /client/components/boards
parent3b2eb0ffa12a0b3cc2eaa0a1e26ed6532e3f5d93 (diff)
downloadwekan-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/boards')
-rw-r--r--client/components/boards/boardArchive.js2
-rw-r--r--client/components/boards/boardHeader.jade2
-rw-r--r--client/components/boards/boardsList.jade9
3 files changed, 11 insertions, 2 deletions
diff --git a/client/components/boards/boardArchive.js b/client/components/boards/boardArchive.js
index 35f795f3..6f62daaf 100644
--- a/client/components/boards/boardArchive.js
+++ b/client/components/boards/boardArchive.js
@@ -1,4 +1,4 @@
-Template.headerTitle.events({
+Template.boardHeaderBar.events({
'click .js-open-archived-board'() {
Modal.open('archivedBoards');
},
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index 5e11c3b7..fc1abc88 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -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}}")
diff --git a/client/components/boards/boardsList.jade b/client/components/boards/boardsList.jade
index 7099cdc9..c11bb2df 100644
--- a/client/components/boards/boardsList.jade
+++ b/client/components/boards/boardsList.jade
@@ -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'}}