summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-23 16:58:07 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-23 16:58:07 +0300
commit1296fce72a57fd696437ff4d72a2f622aed69269 (patch)
tree430f3134aa0073ebc1e5c158b858f83b58e32654 /client/components
parent13db2fd7b2652eef081cb50d30d0a132ecd06157 (diff)
downloadwekan-1296fce72a57fd696437ff4d72a2f622aed69269.tar.gz
wekan-1296fce72a57fd696437ff4d72a2f622aed69269.tar.bz2
wekan-1296fce72a57fd696437ff4d72a2f622aed69269.zip
- Move labels back to original place at minicard.
Thanks to hever and xet7 ! Closes #1842
Diffstat (limited to 'client/components')
-rw-r--r--client/components/cards/minicard.jade9
1 files changed, 4 insertions, 5 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 738cb598..37f537db 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -4,6 +4,10 @@ template(name="minicard")
class="{{#if isLinkedBoard}}linked-board{{/if}}")
if cover
.minicard-cover(style="background-image: url('{{cover.url}}');")
+ if labels
+ .minicard-labels
+ each labels
+ .minicard-label(class="card-label-{{color}}" title="{{name}}")
.minicard-title
if $eq 'prefix-with-full-path' currentBoard.presentParentTask
.parent-prefix
@@ -76,8 +80,3 @@ template(name="minicard")
.badge(class="{{#if checklistFinished}}is-finished{{/if}}")
span.badge-icon.fa.fa-check-square-o
span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}}
-
- if labels
- .minicard-labels
- each labels
- .minicard-label(class="card-label-{{color}}" title="{{name}}")