From a5f3747c02c030f90d57d3bba377728035f163df Mon Sep 17 00:00:00 2001 From: George Date: Wed, 19 Jul 2023 12:37:31 +0300 Subject: [PATCH] DM-336, change workload icons and web-viewer add annotation icon. --- .../file-preview/services/pdf-proxy.service.ts | 2 +- apps/red-ui/src/assets/i18n/scm/en.json | 2 +- .../icons/general/pdftron-action-add-annotation.svg | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 apps/red-ui/src/assets/icons/general/pdftron-action-add-annotation.svg diff --git a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts index b21363ca4..2d15c7a65 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts @@ -48,7 +48,7 @@ export class PdfProxyService { readonly #visibilityIcon = this._convertPath('/assets/icons/general/visibility.svg'); readonly #falsePositiveIcon = this._convertPath('/assets/icons/general/pdftron-action-false-positive.svg'); readonly #addRedactionIcon = this._iqserPermissionsService.has(Roles.getRss) - ? this._convertPath('/assets/icons/general/pdftron-action-add-component.svg') + ? this._convertPath('/assets/icons/general/pdftron-action-add-annotation.svg') : this._convertPath('/assets/icons/general/pdftron-action-add-redaction.svg'); readonly #addHintIcon = this._convertPath('/assets/icons/general/pdftron-action-add-hint.svg'); readonly annotationSelected$ = this.#annotationSelected$; diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index 0df0808b5..dfb58e68e 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -1936,7 +1936,7 @@ "title": "Redact text" } }, - "redaction-abbreviation": "C", + "redaction-abbreviation": "A", "references": "{count} {count, plural, one{reference} other{references}}", "remove-redaction": { "dialog": { diff --git a/apps/red-ui/src/assets/icons/general/pdftron-action-add-annotation.svg b/apps/red-ui/src/assets/icons/general/pdftron-action-add-annotation.svg new file mode 100644 index 000000000..0470f2fe2 --- /dev/null +++ b/apps/red-ui/src/assets/icons/general/pdftron-action-add-annotation.svg @@ -0,0 +1,11 @@ + + + + + + A + + +