diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-25 17:39:24 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-27 14:14:47 +0200 |
commit | 142b65c7fa53eb8468b34d93c25fb56d33819a6a (patch) | |
tree | 8107cefa0e0e87fd542bb3ac376f621ee2b5582e | |
parent | 61b0e8ca0b2a1c50aeee318c7e42c40fd0816108 (diff) | |
download | gitlab-ce-142b65c7fa53eb8468b34d93c25fb56d33819a6a.tar.gz |
Remove instance statistics links from admin pages
-rw-r--r-- | app/views/layouts/nav/sidebar/_admin.html.haml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/app/views/layouts/nav/sidebar/_admin.html.haml b/app/views/layouts/nav/sidebar/_admin.html.haml index 302de31a6d4..ff25b040913 100644 --- a/app/views/layouts/nav/sidebar/_admin.html.haml +++ b/app/views/layouts/nav/sidebar/_admin.html.haml @@ -7,14 +7,14 @@ .sidebar-context-title = _('Admin Area') %ul.sidebar-top-level-items - = nav_link(controller: %w(dashboard admin projects users groups jobs runners gitaly_servers cohorts conversational_development_index), html_options: {class: 'home'}) do + = nav_link(controller: %w(dashboard admin projects users groups jobs runners gitaly_servers), html_options: {class: 'home'}) do = link_to admin_root_path, class: 'shortcuts-tree' do .nav-icon-container = sprite_icon('overview') %span.nav-item-name = _('Overview') %ul.sidebar-sub-level-items - = nav_link(controller: %w(dashboard admin projects users groups jobs runners gitaly_servers cohorts conversational_development_index), html_options: { class: "fly-out-top-item" } ) do + = nav_link(controller: %w(dashboard admin projects users groups jobs runners gitaly_servers), html_options: { class: "fly-out-top-item" } ) do = link_to admin_root_path do %strong.fly-out-top-item-name = _('Overview') @@ -47,14 +47,6 @@ = link_to admin_gitaly_servers_path, title: 'Gitaly Servers' do %span = _('Gitaly Servers') - = nav_link path: 'cohorts#index' do - = link_to instance_statistics_cohorts_path, title: _('Cohorts') do - %span - = _('Cohorts') - = nav_link(controller: :conversational_development_index) do - = link_to instance_statistics_conversational_development_index_index_path, title: _('ConvDev Index') do - %span - = _('ConvDev Index') = nav_link(controller: %w(system_info background_jobs logs health_check requests_profiles)) do = link_to admin_system_info_path do |