mirror of
https://github.com/wekan/wekan.git
synced 2026-02-18 05:58:07 +01:00
Performance, improving page load about 40% faster
This commit is contained in:
parent
9bda4372a5
commit
43d11af631
4 changed files with 37 additions and 30 deletions
|
|
@ -92,7 +92,7 @@ template(name="editChecklistItemForm")
|
|||
| {{_ 'convertChecklistItemToCardPopup-title'}}
|
||||
|
||||
template(name="checklistItems")
|
||||
if checklist.items.count
|
||||
if checklist.items.length
|
||||
if canModifyCard
|
||||
+inlinedForm(autoclose=false classNames="js-add-checklist-item" checklist = checklist position="top")
|
||||
+addChecklistItemForm(checklist=checklist showNewlineBecomesNewChecklistItem=true)
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ template(name="minicard")
|
|||
.badge
|
||||
span.badge-icon.fa.fa-paperclip
|
||||
span.badge-text= attachments.length
|
||||
if checklists.count
|
||||
if checklists.length
|
||||
.badge(class="{{#if checklistFinished}}is-finished{{/if}}")
|
||||
span.badge-icon.fa.fa-check-square-o
|
||||
span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue