From 97cff35e86f8169570dd32570408ed98e25a9486 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Mon, 11 Sep 2023 14:38:11 +0300 Subject: [PATCH] =?UTF-8?q?DM-422=20-=20Move=20the=20colon=20from=20after?= =?UTF-8?q?=20=E2=80=9Csection=E2=80=9D=20to=20after=20=E2=80=9Cmatched?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 17f028140..2e9a6648a 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -425,7 +425,7 @@ export class AnnotationWrapper implements IListable { static #createContent(annotationWrapper: AnnotationWrapper, entry: IRedactionLogEntry, isDocumine: boolean) { let content = ''; if (entry.matchedRule) { - content += `Rule ${entry.matchedRule} matched \n\n`; + content += `Rule ${entry.matchedRule} matched${isDocumine ? ':' : ''} \n\n`; } if (entry.reason) { @@ -444,7 +444,7 @@ export class AnnotationWrapper implements IListable { } if (entry.section) { - let prefix = 'In section: '; + let prefix = `In section${isDocumine ? '' : ':'} `; if (content.length) { prefix = ` ${prefix.toLowerCase()}`; }