diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-23 20:41:36 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-24 00:05:00 +0100 |
commit | f888cfd565b197903c24a07221f6a6a44e1b6223 (patch) | |
tree | 7745b9c3913ae62f2bc08fb0a1049ec9754f2d4d /client/components/lists/listBody.jade | |
parent | 044126188d28a24b0df5d67cf69d081ce7790886 (diff) | |
download | wekan-f888cfd565b197903c24a07221f6a6a44e1b6223.tar.gz wekan-f888cfd565b197903c24a07221f6a6a44e1b6223.tar.bz2 wekan-f888cfd565b197903c24a07221f6a6a44e1b6223.zip |
Allow list creation from template
Diffstat (limited to 'client/components/lists/listBody.jade')
-rw-r--r-- | client/components/lists/listBody.jade | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/client/components/lists/listBody.jade b/client/components/lists/listBody.jade index 80ce70c0..46f90f99 100644 --- a/client/components/lists/listBody.jade +++ b/client/components/lists/listBody.jade @@ -57,7 +57,7 @@ template(name="addCardForm") span.quiet | | / - a.js-search-template {{_ 'template'}} + a.js-card-template {{_ 'template'}} template(name="autocompleteLabelLine") .minicard-label(class="card-label-{{colorName}}" title=labelName) @@ -104,5 +104,12 @@ template(name="searchCardPopup") .list-body.js-perfect-scrollbar.search-card-results .minicards.clearfix.js-minicards each results - a.minicard-wrapper.js-minicard - +minicard(this) + if isListTemplateSearch + a.minicard-wrapper.js-minicard + +minilist(this) + if isSwimlaneTemplateSearch + a.minicard-wrapper.js-minicard + +miniswimlane(this) + unless isTemplateSearch + a.minicard-wrapper.js-minicard + +minicard(this) |