Browse Source

UI: Renamed 'Webhook URL' to 'Workflow URL' for the new connector API in Microsoft Teams notification recipient

pull/11771/head
Vladyslav_Prykhodko 2 years ago
parent
commit
36cebbaf28
  1. 5
      ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html
  2. 2
      ui-ngx/src/assets/locale/locale.constant-en_US.json

5
ui-ngx/src/app/modules/home/pages/notification/recipient/recipient-notification-dialog.component.html

@ -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">

2
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -4327,6 +4327,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": {

Loading…
Cancel
Save