summaryrefslogtreecommitdiffstats
path: root/client/components/cards/checklists.jade
diff options
context:
space:
mode:
authorRyan Helsing <ryanhelsing@gmail.com>2017-03-18 16:01:22 -0400
committerRyan Helsing <ryanhelsing@gmail.com>2017-03-18 16:01:22 -0400
commitec9498fa627228bd411af6070645fa2ed7cd895d (patch)
tree027a1fdb3d6591ad831d8b99d19a361420f8bafe /client/components/cards/checklists.jade
parentcf85c9c6cda86ede8fdfe746a8affc33b8ba4719 (diff)
downloadwekan-ec9498fa627228bd411af6070645fa2ed7cd895d.tar.gz
wekan-ec9498fa627228bd411af6070645fa2ed7cd895d.tar.bz2
wekan-ec9498fa627228bd411af6070645fa2ed7cd895d.zip
current progress
Diffstat (limited to 'client/components/cards/checklists.jade')
-rw-r--r--client/components/cards/checklists.jade13
1 files changed, 7 insertions, 6 deletions
diff --git a/client/components/cards/checklists.jade b/client/components/cards/checklists.jade
index 987e6cd9..d84f47f4 100644
--- a/client/components/cards/checklists.jade
+++ b/client/components/cards/checklists.jade
@@ -3,12 +3,13 @@ template(name="checklists")
.card-checklist-items
each checklist in currentCard.checklists
+checklistDetail(checklist = checklist)
- +inlinedForm(classNames="js-add-checklist" cardId = cardId)
- +addChecklistItemForm
- else
- a.js-open-inlined-form
- i.fa.fa-plus
- | {{_ 'add-checklist'}}...
+ if canModifyCard
+ +inlinedForm(classNames="js-add-checklist" cardId = cardId)
+ +addChecklistItemForm
+ else
+ a.js-open-inlined-form
+ i.fa.fa-plus
+ | {{_ 'add-checklist'}}...
template(name="checklistDetail")
+inlinedForm(classNames="js-edit-checklist-title" checklist = checklist)