summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listBody.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-03 10:25:31 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-03 10:25:31 +0200
commitdda36f4eb3f4cbf23a936513db5f2abe2413db8b (patch)
tree830d93da326aaa1cce03bfd3e49eef33301b41f7 /client/components/lists/listBody.jade
parent8c6c089363800bb1785a2b4d2278ce0316dae152 (diff)
downloadwekan-dda36f4eb3f4cbf23a936513db5f2abe2413db8b.tar.gz
wekan-dda36f4eb3f4cbf23a936513db5f2abe2413db8b.tar.bz2
wekan-dda36f4eb3f4cbf23a936513db5f2abe2413db8b.zip
- Hide Linked Card and Linked Board on Sandstorm, because they are only
useful when having multiple boards, and at Sandstorm there is only one board per grain. Thanks to ocdtrekkie and xet7. Closes #1982
Diffstat (limited to 'client/components/lists/listBody.jade')
-rw-r--r--client/components/lists/listBody.jade18
1 files changed, 10 insertions, 8 deletions
diff --git a/client/components/lists/listBody.jade b/client/components/lists/listBody.jade
index f2b3e941..c6c9b204 100644
--- a/client/components/lists/listBody.jade
+++ b/client/components/lists/listBody.jade
@@ -34,13 +34,14 @@ template(name="addCardForm")
.add-controls.clearfix
button.primary.confirm(type="submit") {{_ 'add'}}
- span.quiet
- | {{_ 'or'}}
- a.js-link {{_ 'link'}}
- span.quiet
- | &nbsp;
- | /
- a.js-search {{_ 'search'}}
+ unless isSandstorm
+ span.quiet
+ | {{_ 'or'}}
+ a.js-link {{_ 'link'}}
+ span.quiet
+ | &nbsp;
+ | /
+ a.js-search {{_ 'search'}}
template(name="autocompleteLabelLine")
.minicard-label(class="card-label-{{colorName}}" title=labelName)
@@ -73,7 +74,8 @@ template(name="linkCardPopup")
option(value="{{getId}}") {{getTitle}}
.edit-controls.clearfix
- input.primary.confirm.js-done(type="button" value="{{_ 'link'}}")
+ unless isSandstorm
+ input.primary.confirm.js-done(type="button" value="{{_ 'link'}}")
template(name="searchCardPopup")
label {{_ 'boards'}}: