1326758025
Resolve "Technical debt: `Service#disabled_title` no longer used and is left dangling in `services/_form.html.haml`" Closes #43522 See merge request gitlab-org/gitlab-ce!17305
22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
.row.prepend-top-default.append-bottom-default
|
|
.col-lg-3
|
|
%h4.prepend-top-0
|
|
= @service.title
|
|
= boolean_to_icon @service.activated?
|
|
|
|
%p= @service.description
|
|
|
|
- if @service.respond_to?(:detailed_description)
|
|
%p= @service.detailed_description
|
|
.col-lg-9
|
|
= form_for(@service, as: :service, url: project_service_path(@project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal integration-settings-form js-integration-settings-form', data: { 'can-test' => @service.can_test?, 'test-url' => test_project_service_path(@project, @service) } }) do |form|
|
|
= render 'shared/service_settings', form: form, subject: @service
|
|
- if @service.editable?
|
|
.footer-block.row-content-block
|
|
= service_save_button(@service)
|
|
|
|
= link_to 'Cancel', project_settings_integrations_path(@project), class: 'btn btn-cancel'
|
|
|
|
- if lookup_context.template_exists?('show', "projects/services/#{@service.to_param}", true)
|
|
%hr
|
|
= render "projects/services/#{@service.to_param}/show"
|