Merge branch 'application-settings-cleanup' into 'master'

Conditional partial rendering for EE in application settings

See merge request gitlab-org/gitlab-ce!21482
This commit is contained in:
Dmitriy Zaporozhets 2018-09-04 15:52:49 +00:00
commit d73541d006

View file

@ -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) }