notification.template @if (selectTemplateFormGroup.get('templateName').value && !disabled) { } @if (selectTemplateFormGroup.get('templateName').value?.id && !disabled && allowEdit) { } @if (allowCreate && !selectTemplateFormGroup.get('templateName').value && !disabled) { } @for (template of (filteredTemplate | async); track template) { @for (method of template.configuration.deliveryMethodsTemplates | keyvalue; track method) { {{ getNotificationDeliveryMethodInfoMap(method.key).name | translate }} } } @if (!(filteredTemplate | async)?.length) {
@if (!textIsNotEmpty(searchText)) {
notification.no-notification-templates
} @else { {{ 'notification.no-template-matching' | translate : {template: truncate.transform(searchText, true, 6,'...')} }} @if (allowCreate) { notification.create-new-template } }
}
@if (selectTemplateFormGroup.get('templateName').hasError('required')) { {{ 'notification.template-required' | translate }} }