mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Show parent in card (no links, yet)
This commit is contained in:
parent
94a52080cf
commit
c0ffd6c20f
10 changed files with 193 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue