From 2f3a1d0741f28b9fdbad622329f69886f613e801 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 23 Mar 2023 17:42:04 +0200 Subject: [PATCH] UI: Add in notification review list recipients --- ...cipient-notification-dialog.component.html | 10 +-- .../recipient-table-config.resolver.ts | 10 ++- .../recipient-table-header.component.html | 2 +- .../rule/escalation-form.component.html | 2 +- .../rule-notification-dialog.component.html | 4 +- .../rule/rule-table-config.resolver.ts | 3 +- .../sent-notification-dialog.component.html | 17 ++++- .../sent-notification-dialog.component.scss | 4 + ...emplate-notification-dialog.component.html | 4 +- .../template-table-config.resolver.ts | 3 +- .../app/shared/models/entity-type.models.ts | 11 ++- .../app/shared/models/notification.models.ts | 18 +++-- .../assets/locale/locale.constant-en_US.json | 74 ++++++++++--------- 13 files changed, 95 insertions(+), 67 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html b/ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html index 56afc9f879..9eecacf268 100644 --- a/ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html +++ b/ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html @@ -17,7 +17,7 @@ -->
-

{{ (isAdd ? 'notification.add-notification-target' : 'notification.edit-notification-target') | translate }}

+

{{ (isAdd ? 'notification.add-notification-recipients-group' : 'notification.edit-notification-recipients-group') | translate }}

diff --git a/ui-ngx/src/app/modules/home/pages/notification/rule/escalation-form.component.html b/ui-ngx/src/app/modules/home/pages/notification/rule/escalation-form.component.html index d3ca08ec5f..b9a5ef2119 100644 --- a/ui-ngx/src/app/modules/home/pages/notification/rule/escalation-form.component.html +++ b/ui-ngx/src/app/modules/home/pages/notification/rule/escalation-form.component.html @@ -37,7 +37,7 @@ subscriptSizing="dynamic" entityType="{{ entityType.NOTIFICATION_TARGET }}" subType="{{ notificationType.ALARM }}" - [placeholderText]="escalationFormGroup.get('targets').value ? '' : ('notification.add-target' | translate)"> + [placeholderText]="escalationFormGroup.get('targets').value ? '' : ('notification.add-recipient' | translate)">