2017-09-10 17:25:29 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2020-04-08 14:13:33 +05:30
- breadcrumb_title _('Integration Settings')
2018-11-08 19:23:39 +05:30
- page_title _('Integrations')
2020-04-08 14:13:33 +05:30
- if show_webhooks_moved_alert?
2020-07-28 23:09:34 +05:30
.gl-alert.gl-alert-info.js-webhooks-moved-alert.gl-mt-3{ role: 'alert', data: { feature_id: UserCalloutsHelper::WEBHOOKS_MOVED, dismiss_endpoint: user_callouts_path } }
2020-10-24 23:57:45 +05:30
= sprite_icon('information-o', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
2020-04-08 14:13:33 +05:30
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
2020-10-24 23:57:45 +05:30
= sprite_icon('close', css_class: 'gl-icon')
2020-04-08 14:13:33 +05:30
.gl-alert-body
= _('Webhooks have moved. They can now be found under the Settings menu.')
.gl-alert-actions
2021-03-11 19:13:27 +05:30
= link_to _('Go to Webhooks'), project_hooks_path(@project), class: 'gl-button btn gl-alert-action btn-info'
2020-04-08 14:13:33 +05:30
2021-04-29 21:17:54 +05:30
%h3= _('Integrations')
2020-06-23 00:09:42 +05:30
- integrations_link_start = '<a href="%{url}">'.html_safe % { url: help_page_url('user/project/integrations/overview') }
- webhooks_link_start = '<a href="%{url}">'.html_safe % { url: project_hooks_path(@project) }
%p= _("%{integrations_link_start}Integrations%{link_end} enable you to make third-party applications part of your GitLab workflow. If the available integrations don't meet your needs, consider using a %{webhooks_link_start}webhook%{link_end}.").html_safe % { integrations_link_start: integrations_link_start, webhooks_link_start: webhooks_link_start, link_end: '</a>'.html_safe }
2020-05-24 23:13:21 +05:30
= render 'shared/integrations/index', integrations: @services