mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 10:16:09 +01:00
Card Details, moving the custom field sort switch after the last custom field
This commit is contained in:
parent
81e617a149
commit
6b26b5d62b
1 changed files with 6 additions and 6 deletions
|
|
@ -241,12 +241,6 @@ template(name="cardDetails")
|
|||
|
||||
//.card-details-items
|
||||
if 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
|
||||
|
|
@ -257,6 +251,12 @@ template(name="cardDetails")
|
|||
i.fa.fa-list-alt
|
||||
= definition.name
|
||||
+cardCustomField
|
||||
.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")
|
||||
|
||||
if getVoteQuestion
|
||||
hr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue