mirror of
https://github.com/wekan/wekan.git
synced 2026-02-12 03:04:22 +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
|
|
@ -227,8 +227,17 @@ template(name="cardDetails")
|
|||
|
||||
//.card-details-items
|
||||
if customFieldsWD
|
||||
each customFieldsWD
|
||||
.material-toggle-switch(title="{{_ 'change'}} {{_ 'custom-fields'}} {{_ 'layout'}}")
|
||||
if customFieldsGrid
|
||||
input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton" checked="checked")
|
||||
else
|
||||
input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton")
|
||||
label.toggle-label(for="toggleCustomFieldsGridButton")
|
||||
unless customFieldsGrid
|
||||
hr
|
||||
each customFieldsWD
|
||||
if customFieldsGrid
|
||||
hr
|
||||
.card-details-item.card-details-item-customfield
|
||||
h3.card-details-item-title
|
||||
i.fa.fa-list-alt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue