mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 07:31:47 +01:00
Toggle opened card Custom Fields layout between Grid and one per row.
Thanks to xet7 !
This commit is contained in:
parent
41d9ae92e6
commit
fc2fb9a081
3 changed files with 42 additions and 1 deletions
|
|
@ -61,6 +61,11 @@ BlazeComponent.extendComponent({
|
|||
return Meteor.user().hasHiddenSystemMessages();
|
||||
},
|
||||
|
||||
customFieldsGrid() {
|
||||
return Meteor.user().hasCustomFieldsGrid();
|
||||
},
|
||||
|
||||
|
||||
cardMaximized() {
|
||||
return Meteor.user().hasCardMaximized();
|
||||
},
|
||||
|
|
@ -419,6 +424,9 @@ BlazeComponent.extendComponent({
|
|||
'click #toggleButton'() {
|
||||
Meteor.call('toggleSystemMessages');
|
||||
},
|
||||
'click #toggleCustomFieldsGridButton'() {
|
||||
Meteor.call('toggleCustomFieldsGrid');
|
||||
},
|
||||
'click .js-maximize-card-details'() {
|
||||
Meteor.call('toggleCardMaximized');
|
||||
autosize($('.card-details'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue