Show labels in task overview
All checks were successful
the build was successful

This commit is contained in:
konrad 2019-03-06 22:06:14 +01:00
parent 56a1754453
commit 67cb5a0d90
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,9 @@
</div>
<span class="tasktext" :class="{ 'done': l.done}">
{{l.text}}
<span class="tag" v-for="label in l.labels" :style="{'background': label.hex_color, 'color': label.textColor}" :key="label.id">
<span>{{ label.title }}</span>
</span>
<i v-if="l.dueDate > 0" :class="{'overdue': (l.dueDate <= new Date())}"> - Due on {{new Date(l.dueDate).toLocaleString()}}</i>
<span v-if="l.priority >= priorities.HIGH" class="high-priority" :class="{'not-so-high': l.priority === priorities.HIGH}">
<span class="icon">

View File

@ -66,6 +66,10 @@
color: $orange;
}
}
.tag {
margin: 0 0.5em;
}
}
input[type="checkbox"] {