diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-06 21:10:14 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-06 21:10:14 +0000 |
| commit | 36c5bf80d4aaedba332a420e3d620b2ee9e2bb65 (patch) | |
| tree | 1a680ddbedf2dfc183b655e2c944a31b54b7fd6f /app/views/shared/web_hooks | |
| parent | a15c9bc9eb04dcee1369c5fd6248c6352915ad21 (diff) | |
| download | gitlab-ce-36c5bf80d4aaedba332a420e3d620b2ee9e2bb65.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/web_hooks')
| -rw-r--r-- | app/views/shared/web_hooks/_title_and_docs.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/web_hooks/_title_and_docs.html.haml b/app/views/shared/web_hooks/_title_and_docs.html.haml index f00f3473efa..c220b46f70f 100644 --- a/app/views/shared/web_hooks/_title_and_docs.html.haml +++ b/app/views/shared/web_hooks/_title_and_docs.html.haml @@ -4,7 +4,7 @@ = page_title - if @project - - integrations_link_start = '<a href="%{url}">'.html_safe % { url: scoped_integrations_path } + - integrations_link_start = '<a href="%{url}">'.html_safe % { url: scoped_integrations_path(project: @project) } %p= _("%{webhooks_link_start}%{webhook_type}%{link_end} enable you to send notifications to web applications in response to events in a group or project. We recommend using an %{integrations_link_start}integration%{link_end} in preference to a webhook.").html_safe % { webhooks_link_start: webhooks_link_start, webhook_type: hook.pluralized_name, integrations_link_start: integrations_link_start, link_end: '</a>'.html_safe } - else %p= _("%{webhooks_link_start}%{webhook_type}%{link_end} enable you to send notifications to web applications in response to events in a group or project.").html_safe % { webhooks_link_start: webhooks_link_start, webhook_type: hook.pluralized_name, link_end: '</a>'.html_safe } |
