From dda36f4eb3f4cbf23a936513db5f2abe2413db8b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 3 Nov 2018 10:25:31 +0200 Subject: - 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 --- client/components/lists/listBody.jade | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'client/components/lists/listBody.jade') 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 - |   - | / - a.js-search {{_ 'search'}} + unless isSandstorm + span.quiet + | {{_ 'or'}} + a.js-link {{_ 'link'}} + span.quiet + |   + | / + 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'}}: -- cgit v1.2.3-1-g7c22