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.jade27
1 files changed, 13 insertions, 14 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 9a9b897f..57913669 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -7,21 +7,20 @@ template(name="minicard")
each labels
.minicard-label(class="card-label-{{color}}" title="{{name}}")
.minicard-title
+ if $eq 'prefix-with-full-path' currentBoard.presentParentTask
+ .parent-prefix
+ | {{ parentString ' > ' }}
+ if $eq 'prefix-with-parent' currentBoard.presentParentTask
+ .parent-prefix
+ | {{ parentCardName }}
+viewer
- 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 }}
+ {{ title }}
+ if $eq 'subtext-with-full-path' currentBoard.presentParentTask
+ .parent-subtext
+ | {{ parentString ' > ' }}
+ if $eq 'subtext-with-parent' currentBoard.presentParentTask
+ .parent-subtext
+ | {{ parentCardName }}
.dates
if receivedAt