{type: 'checkbox',name: 'send_from_committer_email',title: s_("EmailsOnPushService|Send from committer"),
{type: 'checkbox',name: 'send_from_committer_email',title: s_("EmailsOnPushService|Send from committer"),
help: s_("EmailsOnPushService|Send notifications from the committer's email address if the domain is part of the domain GitLab is running on (e.g. %{domains}).")%{domains: domains}},
help: s_("EmailsOnPushService|Send notifications from the committer's email address if the domain matches the domain used by your GitLab instance (such as %{domains}).")%{domains: domains}},
@@ -18,9 +18,9 @@ The following options are available:
...
@@ -18,9 +18,9 @@ The following options are available:
-**Push events** - Email is triggered when a push event is received.
-**Push events** - Email is triggered when a push event is received.
-**Tag push events** - Email is triggered when a tag is created and pushed.
-**Tag push events** - Email is triggered when a tag is created and pushed.
-**Send from committer** - Send notifications from the committer's email address if the domain is part of the domain GitLab is running on (e.g.`user@gitlab.com`).
-**Send from committer** - Send notifications from the committer's email address if the domain matches the domain used by your GitLab instance (such as`user@gitlab.com`).
-**Disable code diffs** - Don't include possibly sensitive code diffs in notification body.
-**Disable code diffs** - Don't include possibly sensitive code diffs in notification body.
| Settings | Notification |
| Settings | Notification |
| --- | --- |
| --- | --- |
| ![Email on push service settings](img/emails_on_push_service.png) | ![Email on push notification](img/emails_on_push_email.png) |
| ![Email on push service settings](img/emails_on_push_service_v13_11.png) | ![Email on push notification](img/emails_on_push_email.png) |
msgid "EmailsOnPushService|Send notifications from the committer's email address if the domain is part of the domain GitLab is running on (e.g. %{domains})."
msgid "EmailsOnPushService|Send notifications from the committer's email address if the domain matches the domain used by your GitLab instance (such as %{domains})."
@@ -72,7 +72,7 @@ RSpec.describe ServiceFieldEntity do
...
@@ -72,7 +72,7 @@ RSpec.describe ServiceFieldEntity do
}
}
is_expected.toinclude(expected_hash)
is_expected.toinclude(expected_hash)
expect(subject[:help]).toinclude("Send notifications from the committer's email address if the domain is part of the domain GitLab is running on")
expect(subject[:help]).toinclude("Send notifications from the committer's email address if the domain matches the domain used by your GitLab instance")