Add description icon to cards without checkmark in description

Signed-off-by: Daniel Klepatsch <daniel.klepatsch@gmx.at>
This commit is contained in:
Daniel Klepatsch
2020-11-28 20:55:22 +01:00
parent 5c32133687
commit 26087f95af
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
@include icon-black-white('attach', 'deck', 1); @include icon-black-white('attach', 'deck', 1);
@include icon-black-white('reply', 'deck', 1); @include icon-black-white('reply', 'deck', 1);
@include icon-black-white('notifications-dark', 'deck', 1); @include icon-black-white('notifications-dark', 'deck', 1);
@include icon-black-white('description', 'deck', 1);
.icon-toggle-compact-collapsed { .icon-toggle-compact-collapsed {
@include icon-color('toggle-view-expand', 'deck', $color-black); @include icon-color('toggle-view-expand', 'deck', $color-black);

View File

@@ -27,6 +27,7 @@
<div v-if="card.description && checkListCount > 0" class="card-tasks icon icon-checkmark"> <div v-if="card.description && checkListCount > 0" class="card-tasks icon icon-checkmark">
{{ checkListCheckedCount }}/{{ checkListCount }} {{ checkListCheckedCount }}/{{ checkListCount }}
</div> </div>
<div v-else-if="card.description && checkListCount == 0" class="icon icon-description" />
<div v-if="card.attachmentCount > 0" class="icon-attach icon icon-attach-dark"> <div v-if="card.attachmentCount > 0" class="icon-attach icon icon-attach-dark">
{{ card.attachmentCount }} {{ card.attachmentCount }}