Changes /admin/application_settings to support template repository selection in EE
This commit is contained in:
parent
3422cca4b7
commit
d7be0dc818
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
import initSettingsPanels from '~/settings_panels';
|
||||
import projectSelect from '~/project_select';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// Initialize expandable settings panels
|
||||
initSettingsPanels();
|
||||
projectSelect();
|
||||
});
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue