summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-31 16:01:42 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-31 16:34:51 +0200
commit72fe5fd47e92c7286e9adbb133de02f347eb4bd7 (patch)
tree6b732f966b4a7acb4d0def9d93e71bb9d805e25c /client/components/boards
parentd644cba38ff06369cc43c1ebd08d344fd1d248ea (diff)
downloadwekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.tar.gz
wekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.tar.bz2
wekan-72fe5fd47e92c7286e9adbb133de02f347eb4bd7.zip
Fixes some UI bugs on sandstorm
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardHeader.jade12
-rw-r--r--client/components/boards/boardHeader.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index 9e807b90..e3ca8074 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -46,12 +46,12 @@ template(name="boardMenuPopup")
li: a.js-open-archives Archived elements
if currentUser.isBoardAdmin
li: a.js-change-board-color Change color
- //-
- XXX Language should be handled by sandstorm, but for now display a
- language selection link in the board menu. This link is normally present
- in the header bar that is not displayed on sandstorm.
- if isSandstorm
- li: a.js-change-language {{_ 'language'}}
+ //-
+ XXX Language should be handled by sandstorm, but for now display a
+ language selection link in the board menu. This link is normally present
+ in the header bar that is not displayed on sandstorm.
+ if isSandstorm
+ li: a.js-change-language {{_ 'language'}}
unless isSandstorm
if currentUser.isBoardAdmin
hr
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 19103f98..d23dd5f2 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -5,7 +5,7 @@ Template.boardMenuPopup.events({
Popup.close();
},
'click .js-change-board-color': Popup.open('boardChangeColor'),
- 'click .js-change-language': Popup.open('setLanguage'),
+ 'click .js-change-language': Popup.open('changeLanguage'),
'click .js-archive-board ': Popup.afterConfirm('archiveBoard', function() {
var boardId = Session.get('currentBoard');
Boards.update(boardId, { $set: { archived: true }});