diff --git a/app/components/notifier/modal-new-edit/template.hbs b/app/components/notifier/modal-new-edit/template.hbs index e2cbf9ce0..0c7510760 100644 --- a/app/components/notifier/modal-new-edit/template.hbs +++ b/app/components/notifier/modal-new-edit/template.hbs @@ -55,6 +55,22 @@

+
+
+ + {{input + classNames="form-control" + id="input-slack-config-proxy-url" + value=model.slackConfig.proxyUrl + placeholder=(t "notifierPage.proxyUrl.placeholder") + }} +
+
{{else if (eq currentType "email")}}
@@ -182,6 +198,22 @@ {{t "notifierPage.pagerduty.serviceKey.helpText"}}

+
+
+ + {{input + classNames="form-control" + id="input-pagerduty-config-proxy-url" + value=model.pagerdutyConfig.proxyUrl + placeholder=(t "notifierPage.proxyUrl.placeholder") + }} +
+
{{else if (eq currentType "wechat")}}
@@ -259,6 +291,22 @@ }}
+
+
+ + {{input + classNames="form-control" + id="input-notifierpage-config-proxy-url" + value=model.wechatConfig.proxyUrl + placeholder=(t "notifierPage.proxyUrl.placeholder") + }} +
+
{{else if (eq currentType "webhook")}}
@@ -284,6 +332,22 @@ }}
+
+
+ + {{input + classNames="form-control" + id="input-webhook-config-proxy-url" + value=model.webhookConfig.proxyUrl + placeholder=(t "notifierPage.proxyUrl.placeholder") + }} +
+
{{/if}} {{#if (eq currentType "slack")}} diff --git a/translations/en-us.yaml b/translations/en-us.yaml index 5ed32b9a1..2fce03527 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -2039,6 +2039,9 @@ notifierPage: agentPlaceholder: e.g. 1000003 corpPlaceholder: e.g. wwc0cc3d58f9b021b6 defaultRecipientPlaceholder: e.g. 2 + proxyUrl: + label: Proxy URL + placeholder: e.g. http://my-proxy/ webhook: url: URL