mirror of
https://github.com/wekan/wekan.git
synced 2026-02-15 04:28:07 +01:00
Add back some parts of Show checklist at minicard feature.
Thanks to xet7 !
This commit is contained in:
parent
968a32164b
commit
47468a4750
2 changed files with 14 additions and 14 deletions
|
|
@ -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'}}")
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue