From 0bb2cd1fb33da55a49c549893116356afc3dddef Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Mon, 21 Mar 2022 12:39:56 +0200 Subject: [PATCH] pending analysis indicator --- .../annotation-card/annotation-card.component.html | 3 ++- .../annotation-card/annotation-card.component.scss | 6 ++++++ apps/red-ui/src/assets/i18n/en.json | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html index 8eec26deb..a4da78866 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html @@ -3,7 +3,8 @@
- {{ annotation.typeLabel | translate }} + {{ annotation.typeLabel | translate }} {{ 'annotation.pending' | translate }}
diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.scss b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.scss index 06d7ec7bb..5e8de6b86 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.scss +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.scss @@ -1,3 +1,5 @@ +@use 'variables'; + .details { display: flex; position: relative; @@ -13,3 +15,7 @@ redaction-type-annotation-icon { margin-top: 6px; margin-right: 10px; } + +.pending-analysis { + color: variables.$red-1; +} diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json index 4073eedaf..d193fa05c 100644 --- a/apps/red-ui/src/assets/i18n/en.json +++ b/apps/red-ui/src/assets/i18n/en.json @@ -159,6 +159,9 @@ "dossier-templates": "Dossier Templates", "settings": "Settings" }, + "annotation": { + "pending": "(Pending Analysis)" + }, "annotation-actions": { "accept-recommendation": { "label": "Accept Recommendation"