Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d7be0dc8
Commit
d7be0dc8
authored
Aug 14, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes /admin/application_settings to support template repository selection in EE
parent
3422cca4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
app/assets/javascripts/pages/admin/application_settings/index.js
...ets/javascripts/pages/admin/application_settings/index.js
+2
-0
app/views/admin/application_settings/show.html.haml
app/views/admin/application_settings/show.html.haml
+2
-0
No files found.
app/assets/javascripts/pages/admin/application_settings/index.js
View file @
d7be0dc8
import
initSettingsPanels
from
'
~/settings_panels
'
;
import
projectSelect
from
'
~/project_select
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
// Initialize expandable settings panels
initSettingsPanels
();
projectSelect
();
});
app/views/admin/application_settings/show.html.haml
View file @
d7be0dc8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment