diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-10-30 20:38:52 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-10-30 20:38:52 +0200 |
commit | 6a88c2f2892546c0e0e030dd23fa764ed53da41b (patch) | |
tree | 4168284d02ae4304e427a9b78b5c8e639d6283dc /client/components | |
parent | f3bc92904c2c054ba832a536599759f02a226f6b (diff) | |
parent | acc6bc07589038fb8369865915f529453103f47d (diff) | |
download | wekan-6a88c2f2892546c0e0e030dd23fa764ed53da41b.tar.gz wekan-6a88c2f2892546c0e0e030dd23fa764ed53da41b.tar.bz2 wekan-6a88c2f2892546c0e0e030dd23fa764ed53da41b.zip |
Merge branch 'whowillcare-master'
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/swimlanes/swimlanes.jade | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade index 9eab6054..98af6d54 100644 --- a/client/components/swimlanes/swimlanes.jade +++ b/client/components/swimlanes/swimlanes.jade @@ -12,13 +12,13 @@ template(name="swimlane") unless currentUser.isCommentOnly +addListForm else + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm each lists +list(this) if currentCardIsInThisList _id ../_id +cardDetails(currentCard) - if currentUser.isBoardMember - unless currentUser.isCommentOnly - +addListForm template(name="listsGroup") .swimlane.list-group.js-lists @@ -26,20 +26,20 @@ template(name="listsGroup") if currentList +list(currentList) else - each lists - +miniList(this) if currentUser.isBoardMember unless currentUser.isCommentOnly +addListForm + each lists + +miniList(this) else + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm each lists if visible this +list(this) if currentCardIsInThisList _id null +cardDetails(currentCard) - if currentUser.isBoardMember - unless currentUser.isCommentOnly - +addListForm template(name="addListForm") .list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}") |