summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-07-05 22:48:43 +0300
committerLauri Ojansivu <x@xet7.org>2018-07-05 22:48:43 +0300
commit06423164fb063a5e359bbb5866959f87110bf7c2 (patch)
tree592198eac47b5a8e3792c6660faf6230416dcaee /client/components/cards/minicard.jade
parent515c9be051272b91563c6de516424a246503853a (diff)
parent3eba6ef2856946925795f9cd370583be892344dd (diff)
downloadwekan-06423164fb063a5e359bbb5866959f87110bf7c2.tar.gz
wekan-06423164fb063a5e359bbb5866959f87110bf7c2.tar.bz2
wekan-06423164fb063a5e359bbb5866959f87110bf7c2.zip
Merge branch 'nested-tasks' of https://github.com/TNick/wekan into TNick-nested-tasks
Diffstat (limited to 'client/components/cards/minicard.jade')
-rw-r--r--client/components/cards/minicard.jade15
1 files changed, 14 insertions, 1 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 2a8e95ab..57913669 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -7,8 +7,21 @@ 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
- = title
+ {{ 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
unless startAt