mirror of
https://github.com/wekan/wekan.git
synced 2026-01-27 19:56:09 +01:00
Add Board Card Settings to Show on Card only some of it's fields.
Default WYSIWYG comment editor not enabled, use markdown instead.
This commit is contained in:
parent
65fa2f626f
commit
1350694538
2 changed files with 11 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue