mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 07:31:47 +01:00
Fixes some UI bugs on sandstorm
This commit is contained in:
parent
d644cba38f
commit
72fe5fd47e
5 changed files with 21 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue