|
|
@ -97,6 +97,11 @@ |
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.subject').hasError('required')"> |
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.subject').hasError('required')"> |
|
|
{{ 'notification.subject-required' | translate }} |
|
|
{{ 'notification.subject-required' | translate }} |
|
|
</mat-error> |
|
|
</mat-error> |
|
|
|
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.subject').hasError('maxlength')"> |
|
|
|
|
|
{{ 'notification.subject-max-length' | translate : |
|
|
|
|
|
{length: templateConfigurationForm.get('MOBILE_APP.subject').getError('maxlength').requiredLength} |
|
|
|
|
|
}} |
|
|
|
|
|
</mat-error> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
<mat-form-field class="mat-block"> |
|
|
<mat-form-field class="mat-block"> |
|
|
<mat-label translate>notification.message</mat-label> |
|
|
<mat-label translate>notification.message</mat-label> |
|
|
@ -109,6 +114,11 @@ |
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.body').hasError('required')"> |
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.body').hasError('required')"> |
|
|
{{ 'notification.message-required' | translate }} |
|
|
{{ 'notification.message-required' | translate }} |
|
|
</mat-error> |
|
|
</mat-error> |
|
|
|
|
|
<mat-error *ngIf="templateConfigurationForm.get('MOBILE_APP.body').hasError('maxlength')"> |
|
|
|
|
|
{{ 'notification.message-max-length' | translate : |
|
|
|
|
|
{length: templateConfigurationForm.get('MOBILE_APP.body').getError('maxlength').requiredLength} |
|
|
|
|
|
}} |
|
|
|
|
|
</mat-error> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
<div formGroupName="additionalConfig"> |
|
|
<div formGroupName="additionalConfig"> |
|
|
<tb-notification-action-button-configuration |
|
|
<tb-notification-action-button-configuration |
|
|
|