notification.customize-messages
{{ 'notification.input-fields-support-templatization' | translate }}
@if (templateConfigurationForm.get('WEB.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.WEB).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.WEB).name | translate }} notification.subject @if (templateConfigurationForm.get('WEB.subject').hasError('required')) { {{ 'notification.subject-required' | translate }} } @if (templateConfigurationForm.get('WEB.subject').hasError('maxlength')) { {{ 'notification.subject-max-length' | translate : {length: templateConfigurationForm.get('WEB.subject').getError('maxlength').requiredLength} }} } notification.message @if (templateConfigurationForm.get('WEB.body').hasError('required')) { {{ 'notification.message-required' | translate }} } @if (templateConfigurationForm.get('WEB.body').hasError('maxlength')) { {{ 'notification.message-max-length' | translate : {length: templateConfigurationForm.get('WEB.body').getError('maxlength').requiredLength} }} }
{{ 'icon.icon' | translate }}
} @if (templateConfigurationForm.get('MOBILE_APP.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MOBILE_APP).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MOBILE_APP).name | translate }} notification.subject @if (templateConfigurationForm.get('MOBILE_APP.subject').hasError('required')) { {{ 'notification.subject-required' | translate }} } @if (templateConfigurationForm.get('MOBILE_APP.subject').hasError('maxlength')) { {{ 'notification.subject-max-length' | translate : {length: templateConfigurationForm.get('MOBILE_APP.subject').getError('maxlength').requiredLength} }} } notification.message @if (templateConfigurationForm.get('MOBILE_APP.body').hasError('required')) { {{ 'notification.message-required' | translate }} } @if (templateConfigurationForm.get('MOBILE_APP.body').hasError('maxlength')) { {{ 'notification.message-max-length' | translate : {length: templateConfigurationForm.get('MOBILE_APP.body').getError('maxlength').requiredLength} }} }
{{ 'icon.icon' | translate }}
} @if (templateConfigurationForm.get('SMS.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SMS).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SMS).name | translate }} notification.message @if (templateConfigurationForm.get('SMS.body').hasError('required')) { {{ 'notification.message-required' | translate }} } @if (templateConfigurationForm.get('SMS.body').hasError('maxlength')) { {{ 'notification.message-max-length' | translate : {length: templateConfigurationForm.get('SMS.body').getError('maxlength').requiredLength} }} }
} @if (templateConfigurationForm.get('EMAIL.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.EMAIL).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.EMAIL).name | translate }} notification.subject @if (templateConfigurationForm.get('EMAIL.subject').hasError('required')) { {{ 'notification.subject-required' | translate }} } @if (templateConfigurationForm.get('EMAIL.subject').hasError('maxlength')) { {{ 'notification.subject-max-length' | translate : {length: templateConfigurationForm.get('EMAIL.subject').getError('maxlength').requiredLength} }} } notification.message @if ((interacted || templateConfigurationForm.get('EMAIL.body').touched) && templateConfigurationForm.get('EMAIL.body').hasError('required')) { {{ 'notification.message-required' | translate }} }
} @if (templateConfigurationForm.get('SLACK.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SLACK).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.SLACK).name | translate }} notification.message @if (templateConfigurationForm.get('SLACK.body').hasError('required')) { {{ 'notification.message-required' | translate }} }
} @if (templateConfigurationForm.get('MICROSOFT_TEAMS.enabled').value) {
{{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MICROSOFT_TEAMS).icon }} {{ NotificationDeliveryMethodInfoMap.get(NotificationDeliveryMethod.MICROSOFT_TEAMS).name | translate }} notification.subject notification.message @if (templateConfigurationForm.get('MICROSOFT_TEAMS.body').hasError('required')) { {{ 'notification.message-required' | translate }} }
notification.theme-color
}