Changes /admin/application_settings to support template repository selection in EE

This commit is contained in:
Nick Thomas 2018-08-14 22:33:14 +01:00
parent 3422cca4b7
commit d7be0dc818
No known key found for this signature in database
GPG key ID: 2A313A47AFADACE9
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,8 @@
import initSettingsPanels from '~/settings_panels';
import projectSelect from '~/project_select';
document.addEventListener('DOMContentLoaded', () => {
// Initialize expandable settings panels
initSettingsPanels();
projectSelect();
});

View file

@ -325,6 +325,8 @@
.settings-content
= render partial: 'repository_mirrors_form'
= 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) }
.settings-header
%h4