summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards/minicard.jade')
-rw-r--r--client/components/cards/minicard.jade16
1 files changed, 15 insertions, 1 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 2a8e95ab..9a9b897f 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -8,7 +8,21 @@ template(name="minicard")
.minicard-label(class="card-label-{{color}}" title="{{name}}")
.minicard-title
+viewer
- = title
+ if isTopLevel
+ = title
+ else
+ if $eq 'prefix-with-full-path' currentBoard.presentParentTask
+ [{{ parentString ' > ' }}] {{ title }}
+ else
+ if $eq 'prefix-with-parent' currentBoard.presentParentTask
+ [{{ parentCardName }}] {{ title }}
+ else
+ = title
+ if $eq 'subtext-with-full-path' currentBoard.presentParentTask
+ .small {{ parentString ' > ' }}
+ if $eq 'subtext-with-parent' currentBoard.presentParentTask
+ .small {{ parentCardName }}
+
.dates
if receivedAt
unless startAt