From 6b6afa1546266178943339ec7746a14dec885b78 Mon Sep 17 00:00:00 2001 From: Martin Wortschack Date: Tue, 4 Sep 2018 15:52:49 +0000 Subject: Conditional partial rendering for EE in application settings --- app/views/admin/application_settings/show.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/views/admin/application_settings') 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) } -- cgit v1.2.1