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

@if (isLoading$ | async) { } @else {
}
notification.name @if (targetNotificationForm.get('name').hasError('required')) { {{ 'notification.name-required' | translate }} }
@for (notificationTargetType of notificationTargetTypes; track notificationTargetType) {
{{ notificationTargetTypeTranslationMap.get(notificationTargetType) | translate }}
}
@if (targetNotificationForm.get('configuration.type').value === notificationTargetType.PLATFORM_USERS) {
notification.recipient-type.user-filters @for (type of notificationTargetConfigTypes; track type) { {{ notificationTargetConfigTypeInfoMap.get(type).name | translate }} } {{ notificationTargetConfigTypeInfoMap.get(targetNotificationForm.get('configuration.usersFilter.type').value).hint | translate }} @switch (targetNotificationForm.get('configuration.usersFilter.type').value) { @case (notificationTargetConfigType.TENANT_ADMINISTRATORS) { @if (isSysAdmin()) {
{{ 'tenant.tenant' | translate }} {{ 'tenant-profile.tenant-profile' | translate }}
@if (targetNotificationForm.get('configuration.usersFilter.filterByTenants').value) { } @else { }
} } @case (notificationTargetConfigType.USER_LIST) { } @case (notificationTargetConfigType.CUSTOMER_USERS) { } }
} @if (targetNotificationForm.get('configuration.type').value === notificationTargetType.SLACK) {
@for (slackChanelType of slackChanelTypes; track slackChanelType) { {{ slackChanelTypesTranslateMap.get(slackChanelType) | translate }} }
} @if (targetNotificationForm.get('configuration.type').value === notificationTargetType.MICROSOFT_TEAMS) {
{{ "notification.use-old-api" | translate }} open_in_new
{{ (targetNotificationForm.get('configuration.useOldApi').value ? 'notification.webhook-url' : 'notification.workflow-url') | translate }} @if (targetNotificationForm.get('configuration.webhookUrl').hasError('required')) { {{ (targetNotificationForm.get('configuration.useOldApi').value ? 'notification.webhook-url-required' : 'notification.workflow-url-required') | translate }} } notification.channel-name @if (targetNotificationForm.get('configuration.channelName').hasError('required')) { {{ 'notification.channel-name-required' | translate }} }
} notification.description