diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-02-05 01:18:01 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-02-05 01:18:01 +0200 |
commit | 13506945388be72b65df630eb71aee9b026c1472 (patch) | |
tree | 77b2b6041213822f283a039dfe6da1dda4ab6e8b /client | |
parent | 65fa2f626f503b8089e0d982901cffb3990426cb (diff) | |
download | wekan-13506945388be72b65df630eb71aee9b026c1472.tar.gz wekan-13506945388be72b65df630eb71aee9b026c1472.tar.bz2 wekan-13506945388be72b65df630eb71aee9b026c1472.zip |
Add Board Card Settings to Show on Card only some of it's fields.
Default WYSIWYG comment editor not enabled, use markdown instead.
Diffstat (limited to 'client')
-rw-r--r-- | client/components/boards/boardHeader.js | 2 | ||||
-rw-r--r-- | client/components/sidebar/sidebar.js | 14 |
2 files changed, 11 insertions, 5 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 8ab117f6..9040ed83 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -30,7 +30,7 @@ Template.boardMenuPopup.events({ 'click .js-outgoing-webhooks': Popup.open('outgoingWebhooks'), 'click .js-import-board': Popup.open('chooseBoardSource'), 'click .js-subtask-settings': Popup.open('boardSubtaskSettings'), - 'click .js-card-settings': Popup.open('boardCardSettings') + 'click .js-card-settings': Popup.open('boardCardSettings'), }); Template.boardMenuPopup.helpers({ diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index 678c16d2..4de7aa80 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -794,8 +794,11 @@ BlazeComponent.extendComponent({ }, 'click .js-field-has-assigned-by'(evt) { evt.preventDefault(); - this.currentBoard.allowsAssignedBy = !this.currentBoard.allowsAssignedBy; - this.currentBoard.setAllowsAssignedBy(this.currentBoard.allowsAssignedBy); + this.currentBoard.allowsAssignedBy = !this.currentBoard + .allowsAssignedBy; + this.currentBoard.setAllowsAssignedBy( + this.currentBoard.allowsAssignedBy, + ); $(`.js-field-has-assigned-by ${MCB}`).toggleClass( CKCLS, this.currentBoard.allowsAssignedBy, @@ -807,8 +810,11 @@ BlazeComponent.extendComponent({ }, 'click .js-field-has-requested-by'(evt) { evt.preventDefault(); - this.currentBoard.allowsRequestedBy = !this.currentBoard.allowsRequestedBy; - this.currentBoard.setAllowsRequestedBy(this.currentBoard.allowsRequestedBy); + this.currentBoard.allowsRequestedBy = !this.currentBoard + .allowsRequestedBy; + this.currentBoard.setAllowsRequestedBy( + this.currentBoard.allowsRequestedBy, + ); $(`.js-field-has-requested-by ${MCB}`).toggleClass( CKCLS, this.currentBoard.allowsRequestedBy, |