Add back some parts of Show checklist at minicard feature.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2023-08-25 00:12:08 +03:00
parent 968a32164b
commit 47468a4750
2 changed files with 14 additions and 14 deletions

View file

@ -123,15 +123,15 @@ template(name='checklistItemDetail')
template(name="checklistActionsPopup") template(name="checklistActionsPopup")
if currentUser.isBoardMember if currentUser.isBoardMember
//span.text-show-at-minicard span.text-show-at-minicard
// | {{_ 'show-at-minicard'}} | {{_ 'show-at-minicard'}}
//.material-toggle-switch(title="{{_ 'show-checklist-at-minicard'}}") .material-toggle-switch(title="{{_ 'show-checklist-at-minicard'}}")
// if showAtMinicard if showAtMinicard
// input.toggle-switch(type="checkbox" id="toggleShowChecklistAtMinicardButton" checked="checked") input.toggle-switch(type="checkbox" id="toggleShowChecklistAtMinicardButton" checked="checked")
// else else
// input.toggle-switch(type="checkbox" id="toggleShowChecklistAtMinicardButton") input.toggle-switch(type="checkbox" id="toggleShowChecklistAtMinicardButton")
// label.toggle-label(for="toggleShowChecklistAtMinicardButton") label.toggle-label(for="toggleShowChecklistAtMinicardButton")
//hr hr
span.text-hide-checked-items span.text-hide-checked-items
| {{_ 'hide-checked-items'}} | {{_ 'hide-checked-items'}}
.material-toggle-switch(title="{{_ 'hide-checked-items'}}") .material-toggle-switch(title="{{_ 'hide-checked-items'}}")

View file

@ -111,11 +111,11 @@ template(name="minicard")
+viewer +viewer
= trueValue = trueValue
// .card-checklist-attachmentGalleries .card-checklist-attachmentGalleries
// .card-checklist-attachmentGallery.card-checklists .card-checklist-attachmentGallery.card-checklists
// if currentBoard.allowsChecklists if currentBoard.allowsChecklists
// hr //hr
// +checklists(cardId=_id showAtMinicard=true) //+checklists(cardId=_id showAtMinicard=true)
if showAssignee if showAssignee
if getAssignees if getAssignees