2021-09-04 01:27:46 +05:30
|
|
|
- if lookup_context.template_exists?('top', "projects/services/#{integration.to_param}", true)
|
|
|
|
= render "projects/services/#{integration.to_param}/top", integration: integration
|
2020-07-28 23:09:34 +05:30
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
%h3.page-title
|
2021-09-04 01:27:46 +05:30
|
|
|
= integration.title
|
|
|
|
- if integration.operating?
|
2021-03-11 19:13:27 +05:30
|
|
|
= sprite_icon('check', css_class: 'gl-text-green-500')
|
2018-03-27 19:54:05 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
= form_for(integration, as: :service, url: scoped_integration_path(integration, project: @project, group: @group), 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|
|
2021-09-04 01:27:46 +05:30
|
|
|
= render 'shared/service_settings', form: form, integration: integration
|
|
|
|
%input{ id: 'services_redirect_to', type: 'hidden', name: 'redirect_to', value: request.referer }
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
- if lookup_context.template_exists?('show', "projects/services/#{integration.to_param}", true)
|
2017-09-10 17:25:29 +05:30
|
|
|
%hr
|
2021-09-04 01:27:46 +05:30
|
|
|
= render "projects/services/#{integration.to_param}/show", integration: integration
|