Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_integration_settings.html.haml')
-rw-r--r--app/views/shared/_integration_settings.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/shared/_integration_settings.html.haml b/app/views/shared/_integration_settings.html.haml
new file mode 100644
index 00000000000..93606ca0aba
--- /dev/null
+++ b/app/views/shared/_integration_settings.html.haml
@@ -0,0 +1,14 @@
+= form_errors(integration)
+
+%div{ data: { testid: "integration-settings-form" } }
+ - if @default_integration
+ .js-vue-default-integration-settings{ data: integration_form_data(@default_integration, group: @group, project: @project) }
+ .js-vue-integration-settings{ data: integration_form_data(integration, group: @group, project: @project) }
+ .js-integration-help-html.gl-display-none
+ -# All content below will be repositioned in Vue
+ - if lookup_context.template_exists?('help', "projects/services/#{integration.to_param}", true)
+ = render "projects/services/#{integration.to_param}/help", integration: integration
+ - elsif integration.help.present?
+ .info-well
+ .well-segment
+ = markdown integration.help