summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2018-09-04 15:52:49 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-04 15:52:49 +0000
commit6b6afa1546266178943339ec7746a14dec885b78 (patch)
treeeacd04b3cfd997c861d9ec2fbafed4c495ce2baf /app/views
parentb5272bc2b6469009a2243ad759c6792e3e2b9a15 (diff)
downloadgitlab-ce-6b6afa1546266178943339ec7746a14dec885b78.tar.gz
Conditional partial rendering for EE in application settings
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/application_settings/show.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/show.html.haml b/app/views/admin/application_settings/show.html.haml
index 6133a7646f4..194a8157013 100644
--- a/app/views/admin/application_settings/show.html.haml
+++ b/app/views/admin/application_settings/show.html.haml
@@ -325,6 +325,14 @@
.settings-content
= render partial: 'repository_mirrors_form'
+= render_if_exists 'admin/application_settings/geo', expanded: expanded
+
+= render_if_exists 'admin/application_settings/external_authorization_service_form', expanded: expanded
+
+= render_if_exists 'admin/application_settings/elasticsearch_form', expanded: expanded
+
+= render_if_exists 'admin/application_settings/slack', expanded: expanded
+
= render_if_exists 'admin/application_settings/templates', expanded: expanded
%section.settings.as-third-party-offers.no-animate#js-third-party-offers-settings{ class: ('expanded' if expanded) }