From 3dc617277fb954ade1b5be08f97a9b78b2173ac1 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 26 May 2022 15:41:30 -0700 Subject: [PATCH] Task results popover fix merge --- .../manage/tasks/tasks.component.html | 27 +++++++++++++------ .../manage/tasks/tasks.component.scss | 3 +++ src-ui/src/app/data/paperless-task.ts | 2 ++ src/documents/serialisers.py | 8 ++++++ 4 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 src-ui/src/app/components/manage/tasks/tasks.component.scss diff --git a/src-ui/src/app/components/manage/tasks/tasks.component.html b/src-ui/src/app/components/manage/tasks/tasks.component.html index dff538f3a..45fc02666 100644 --- a/src-ui/src/app/components/manage/tasks/tasks.component.html +++ b/src-ui/src/app/components/manage/tasks/tasks.component.html @@ -27,29 +27,40 @@ - - - - + + + + - + + + - -
+
NameCreatedActionsNameCreatedResultsActions
+
+
{{ task.name }}{{ task.created | customDate:'short' }} +
+ + + + {{ task.result | slice:0:50 }}… +
+ {{ task.result | slice:0:50 }} +
{{ task.result }}
{{ task.name }}{{ task.created | customDate:'medium' }} -