2021-05-24 06:10:58 +00:00
|
|
|
- if lookup_context.template_exists?('top', "projects/services/#{integration.to_param}", true)
|
|
|
|
= render "projects/services/#{integration.to_param}/top", integration: integration
|
2020-06-26 15:08:45 +00:00
|
|
|
|
2021-02-03 18:09:25 +00:00
|
|
|
%h3.page-title
|
2021-05-24 06:10:58 +00:00
|
|
|
= integration.title
|
|
|
|
- if integration.operating?
|
2021-02-03 18:09:25 +00:00
|
|
|
= sprite_icon('check', css_class: 'gl-text-green-500')
|
2018-02-18 23:47:37 +00:00
|
|
|
|
2021-05-24 06:10:58 +00:00
|
|
|
= form_for(integration, as: :service, url: scoped_integration_path(integration), method: :put, html: { class: 'gl-show-field-errors integration-settings-form js-integration-settings-form', data: { 'test-url' => test_project_service_path(@project, integration) } }) do |form|
|
|
|
|
= render 'shared/service_settings', form: form, integration: integration
|
2021-06-16 09:10:10 +00:00
|
|
|
%input{ id: 'services_redirect_to', type: 'hidden', name: 'redirect_to', value: request.referer }
|
2017-05-26 14:25:14 +00:00
|
|
|
|
2021-05-24 06:10:58 +00:00
|
|
|
- if lookup_context.template_exists?('show', "projects/services/#{integration.to_param}", true)
|
2017-05-26 14:25:14 +00:00
|
|
|
%hr
|
2021-05-24 06:10:58 +00:00
|
|
|
= render "projects/services/#{integration.to_param}/show", integration: integration
|