mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
typo in renaming itemDetail to checklistItemDetail
This commit is contained in:
parent
50f170b75d
commit
a0c02f4a50
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ template(name="checklistItems")
|
|||
+inlinedForm(classNames="js-edit-checklist-item" item = item checklist = checklist)
|
||||
+editChecklistItemForm(type = 'item' item = item checklist = checklist)
|
||||
else
|
||||
+cjecklistItemDetail(item = item checklist = checklist)
|
||||
+checklistItemDetail(item = item checklist = checklist)
|
||||
if canModifyCard
|
||||
+inlinedForm(autoclose=false classNames="js-add-checklist-item" checklist = checklist)
|
||||
+addChecklistItemForm
|
||||
|
@ -83,7 +83,7 @@ template(name="checklistItems")
|
|||
i.fa.fa-plus
|
||||
| {{_ 'add-checklist-item'}}...
|
||||
|
||||
template(name='cjecklistItemDetail')
|
||||
template(name='checklistItemDetail')
|
||||
.js-checklist-item.checklist-item
|
||||
if canModifyCard
|
||||
.check-box.materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}")
|
||||
|
|
|
@ -204,7 +204,7 @@ Template.checklistDeleteDialog.onDestroyed(() => {
|
|||
$cardDetails.animate( { scrollTop: this.scrollState.position });
|
||||
});
|
||||
|
||||
Template.cjecklistItemDetail.helpers({
|
||||
Template.checklistItemDetail.helpers({
|
||||
canModifyCard() {
|
||||
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
|
||||
},
|
||||
|
@ -223,4 +223,4 @@ BlazeComponent.extendComponent({
|
|||
'click .js-checklist-item .check-box': this.toggleItem,
|
||||
}];
|
||||
},
|
||||
}).register('cjecklistItemDetail');
|
||||
}).register('checklistItemDetail');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue