From 8fe362c2677a9bd79387a2f5b3eaaa7d44bd7c29 Mon Sep 17 00:00:00 2001 From: profi248 Date: Wed, 30 Dec 2020 21:20:33 +0000 Subject: [PATCH] Show an icon if a task has non-empty description (Kanban view and List view) (#360) Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed. Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set. Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/360 Reviewed-by: konrad Co-authored-by: profi248 Co-committed-by: profi248 --- .../tasks/partials/singleTaskInList.vue | 8 ++++++++ src/styles/components/kanban.scss | 15 +++++++++++++++ src/styles/components/tasks.scss | 9 +++++++++ src/views/list/views/Kanban.vue | 17 +++++++---------- 4 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/components/tasks/partials/singleTaskInList.vue b/src/components/tasks/partials/singleTaskInList.vue index ef43c716d..6cb90706d 100644 --- a/src/components/tasks/partials/singleTaskInList.vue +++ b/src/components/tasks/partials/singleTaskInList.vue @@ -47,6 +47,14 @@ + + + + + + + + -
- - - - - - +
+ + + + + +