|
|
|
@ -73,6 +73,10 @@ template(name="addChecklistItemForm") |
|
|
|
|
.material-toggle-switch(title="{{_ 'newlineBecomesNewChecklistItem'}}") |
|
|
|
|
input.toggle-switch(type="checkbox" id="toggleNewlineBecomesNewChecklistItem") |
|
|
|
|
label.toggle-label(for="toggleNewlineBecomesNewChecklistItem") |
|
|
|
|
if $eq position 'top' |
|
|
|
|
.material-toggle-switch(title="{{_ 'newlineBecomesNewChecklistItemOriginOrder'}}") |
|
|
|
|
input.toggle-switch(type="checkbox" id="toggleNewlineBecomesNewChecklistItemOriginOrder") |
|
|
|
|
label.toggle-label(for="toggleNewlineBecomesNewChecklistItemOriginOrder") |
|
|
|
|
|
|
|
|
|
template(name="editChecklistItemForm") |
|
|
|
|
a.fa.fa-copy(title="{{_ 'copy-text-to-clipboard'}}") |
|
|
|
@ -96,7 +100,7 @@ template(name="checklistItems") |
|
|
|
|
if checklist.items.length |
|
|
|
|
if canModifyCard |
|
|
|
|
+inlinedForm(autoclose=false classNames="js-add-checklist-item" checklist = checklist position="top") |
|
|
|
|
+addChecklistItemForm(checklist=checklist showNewlineBecomesNewChecklistItem=true) |
|
|
|
|
+addChecklistItemForm(checklist=checklist showNewlineBecomesNewChecklistItem=true position="top") |
|
|
|
|
else |
|
|
|
|
a.add-checklist-item.js-open-inlined-form(title="{{_ 'add-checklist-item'}}") |
|
|
|
|
i.fa.fa-plus |
|
|
|
|