Commit cc05ab03 authored by Martin Wortschack's avatar Martin Wortschack

adds 'Geo' sub page to application settings

parent 3bb720ef
- 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 @@ ...@@ -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
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment