Browse Source
Merge pull request #11771 from vvlladd28/bug/notigfication-recipient-team/rename-webhook
Renamed 'Webhook URL' to 'Workflow URL' for the new connector API in Microsoft Teams notification recipient
pull/11776/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
2 deletions
-
ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html
-
ui-ngx/src/assets/locale/locale.constant-en_US.json
|
|
|
@ -135,10 +135,11 @@ |
|
|
|
</a> |
|
|
|
</section> |
|
|
|
<mat-form-field class="mat-block"> |
|
|
|
<mat-label translate>notification.webhook-url</mat-label> |
|
|
|
<mat-label>{{ (targetNotificationForm.get('configuration.useOldApi').value ? |
|
|
|
'notification.webhook-url' : 'notification.workflow-url') | translate }}</mat-label> |
|
|
|
<input matInput formControlName="webhookUrl"> |
|
|
|
<mat-error *ngIf="targetNotificationForm.get('configuration.webhookUrl').hasError('required')"> |
|
|
|
{{ 'notification.webhook-url-required' | translate }} |
|
|
|
{{ (targetNotificationForm.get('configuration.useOldApi').value ? 'notification.webhook-url-required' : 'notification.workflow-url-required') | translate }} |
|
|
|
</mat-error> |
|
|
|
</mat-form-field> |
|
|
|
<mat-form-field class="mat-block"> |
|
|
|
|
|
|
|
@ -4326,6 +4326,8 @@ |
|
|
|
"warning": "Warning", |
|
|
|
"webhook-url": "Webhook URL", |
|
|
|
"webhook-url-required": "Webhook URL is required", |
|
|
|
"workflow-url": "Workflow URL", |
|
|
|
"workflow-url-required": "Workflow URL is required", |
|
|
|
"channel-name": "Channel name", |
|
|
|
"channel-name-required": "Channel name is required", |
|
|
|
"settings": { |
|
|
|
|