diff options
author | kushalpandya <kushal@gitlab.com> | 2017-05-26 19:55:14 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-05-31 14:22:28 +0530 |
commit | 7cef07c948db4aa61ec948ab227c4d42438b87fc (patch) | |
tree | 7cc4914f8580905a011db96c69eb02ba0ab69151 /app | |
parent | 2e302e35e798ae171e08c08b81092e12c34dcfc7 (diff) | |
download | gitlab-ce-7cef07c948db4aa61ec948ab227c4d42438b87fc.tar.gz |
Render service extras partial conditionally
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/services/_form.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml index f1a80f1d5e1..f9ce81b729f 100644 --- a/app/views/projects/services/_form.html.haml +++ b/app/views/projects/services/_form.html.haml @@ -18,3 +18,7 @@ = link_to 'Test settings', test_namespace_project_service_path(@project.namespace, @project, @service), class: "btn #{disabled_class}", title: disabled_title = link_to "Cancel", namespace_project_settings_integrations_path(@project.namespace, @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"
\ No newline at end of file |