diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-09-04 15:52:49 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-09-04 15:52:49 +0000 |
commit | 6b6afa1546266178943339ec7746a14dec885b78 (patch) | |
tree | eacd04b3cfd997c861d9ec2fbafed4c495ce2baf /app/views | |
parent | b5272bc2b6469009a2243ad759c6792e3e2b9a15 (diff) | |
download | gitlab-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.haml | 8 |
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) } |