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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
cc05ab03
Commit
cc05ab03
authored
Sep 05, 2018
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds 'Geo' sub page to application settings
parent
3bb720ef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
app/views/admin/application_settings/geo.html.haml
app/views/admin/application_settings/geo.html.haml
+6
-0
app/views/layouts/nav/sidebar/_admin.html.haml
app/views/layouts/nav/sidebar/_admin.html.haml
+5
-0
config/routes/admin.rb
config/routes/admin.rb
+1
-1
No files found.
app/views/admin/application_settings/geo.html.haml
0 → 100644
View file @
cc05ab03
-
breadcrumb_title
"Settings"
-
page_title
"Settings"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
expanded
=
Rails
.
env
.
test?
=
render_if_exists
'admin/application_settings/geo'
,
expanded:
expanded
app/views/layouts/nav/sidebar/_admin.html.haml
View file @
cc05ab03
...
@@ -245,6 +245,11 @@
...
@@ -245,6 +245,11 @@
%span
%span
=
_
(
'Network'
)
=
_
(
'Network'
)
%li
.divider.fly-out-top-item
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'application_settings#geo'
)
do
=
link_to
geo_admin_application_settings_path
,
title:
_
(
'Geo'
)
do
%span
=
_
(
'Geo'
)
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'application_settings#preferences'
)
do
=
nav_link
(
path:
'application_settings#preferences'
)
do
=
link_to
preferences_admin_application_settings_path
,
title:
_
(
'Preferences'
)
do
=
link_to
preferences_admin_application_settings_path
,
title:
_
(
'Preferences'
)
do
%span
%span
...
...
config/routes/admin.rb
View file @
cc05ab03
...
@@ -110,7 +110,7 @@ namespace :admin do
...
@@ -110,7 +110,7 @@ namespace :admin do
put
:reset_runners_token
put
:reset_runners_token
put
:reset_health_check_token
put
:reset_health_check_token
put
:clear_repository_check_states
put
:clear_repository_check_states
get
:integrations
,
:repository
,
:templates
,
:ci_cd
,
:reporting
,
:metrics_and_profiling
,
:network
,
:preferences
get
:integrations
,
:repository
,
:templates
,
:ci_cd
,
:reporting
,
:metrics_and_profiling
,
:network
,
:
geo
,
:
preferences
end
end
resources
:labels
resources
:labels
...
...
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