adds 'Geo' sub page to application settings
This commit is contained in:
parent
3bb720ef65
commit
cc05ab032a
|
@ -0,0 +1,6 @@
|
|||
- 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
|
|
@ -245,6 +245,11 @@
|
|||
%span
|
||||
= _('Network')
|
||||
%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
|
||||
= link_to preferences_admin_application_settings_path, title: _('Preferences') do
|
||||
%span
|
||||
|
|
|
@ -110,7 +110,7 @@ namespace :admin do
|
|||
put :reset_runners_token
|
||||
put :reset_health_check_token
|
||||
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
|
||||
|
||||
resources :labels
|
||||
|
|
Loading…
Reference in New Issue