summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/cards/cardDetails.jade18
-rw-r--r--client/components/lists/listBody.jade18
2 files changed, 21 insertions, 15 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index 33d6d3b7..daeab7d3 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -19,14 +19,16 @@ template(name="cardDetails")
a.js-parent-card(href=linkForCard) {{title}}
// else
{{_ 'top-level-card'}}
- if isLinkedCard
- h3.linked-card-location
- +viewer
- | {{getBoardTitle}} > {{getTitle}}
+ unless isSandstorm
+ if isLinkedCard
+ h3.linked-card-location
+ +viewer
+ | {{getBoardTitle}} > {{getTitle}}
if getArchived
if isLinkedBoard
- p.warning {{_ 'board-archived'}}
+ unless isSandstorm
+ p.warning {{_ 'board-archived'}}
else
p.warning {{_ 'card-archived'}}
@@ -190,9 +192,11 @@ template(name="cardDetails")
unless currentUser.isNoComments
if isLoaded.get
if isLinkedCard
- +activities(card=this mode="linkedcard")
+ unless isSandstorm
+ +activities(card=this mode="linkedcard")
else if isLinkedBoard
- +activities(card=this mode="linkedboard")
+ unless isSandstorm
+ +activities(card=this mode="linkedboard")
else
+activities(card=this mode="card")
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'}}: