diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-23 01:40:11 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-24 00:05:00 +0100 |
commit | cdf070189e11205eecd11641226ae62964cc03e1 (patch) | |
tree | a5f0d59fa0a7cb117f3a6b63c2fe8b229b055f7b /client/components/lists/listBody.jade | |
parent | 64bf455b296a10369e8318183c2c6cd61a122869 (diff) | |
download | wekan-cdf070189e11205eecd11641226ae62964cc03e1.tar.gz wekan-cdf070189e11205eecd11641226ae62964cc03e1.tar.bz2 wekan-cdf070189e11205eecd11641226ae62964cc03e1.zip |
Remove links from templates board for the moment
Insert the correct template type in templates board
Allow independant lists in templates board
Add some helpers
Diffstat (limited to 'client/components/lists/listBody.jade')
-rw-r--r-- | client/components/lists/listBody.jade | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/client/components/lists/listBody.jade b/client/components/lists/listBody.jade index f030833b..10d39d15 100644 --- a/client/components/lists/listBody.jade +++ b/client/components/lists/listBody.jade @@ -45,13 +45,14 @@ template(name="addCardForm") .add-controls.clearfix button.primary.confirm(type="submit") {{_ 'add'}} unless isSandstorm - span.quiet - | {{_ 'or'}} - a.js-link {{_ 'link'}} - span.quiet - | - | / - a.js-search {{_ 'search'}} + unless currentBoard.isTemplatesBoard + span.quiet + | {{_ 'or'}} + a.js-link {{_ 'link'}} + span.quiet + | + | / + a.js-search {{_ 'search'}} template(name="autocompleteLabelLine") .minicard-label(class="card-label-{{colorName}}" title=labelName) |