Commit c1604e48 authored by Imre Farkas's avatar Imre Farkas

Merge branch 'mw-instance-statistics-skeleton' into 'master'

Add skeleton for instance statistics

See merge request gitlab-org/gitlab!40583
parents 52188021 089937c8
# frozen_string_literal: true
class Admin::InstanceStatisticsController < Admin::ApplicationController
before_action :check_feature_flag
def index
end
def check_feature_flag
render_404 unless Feature.enabled?(:instance_analytics)
end
end
- breadcrumb_title _("Instance Statistics")
- page_title _("Instance Statistics")
#js-instance-statistics-app
......@@ -69,6 +69,11 @@
= link_to admin_cohorts_path, title: _('Cohorts') do
%span
= _('Cohorts')
- if Feature.enabled?(:instance_statistics)
= nav_link(controller: :instance_statistics) do
= link_to admin_instance_statistics_path, title: _('Instance Statistics') do
%span
= _('Instance Statistics')
= nav_link(controller: admin_monitoring_nav_links) do
= link_to admin_system_info_path, data: { qa_selector: 'admin_monitoring_link' } do
......
---
name: instance_statistics
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40583
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/241711
group: group::analytics
type: development
default_enabled: false
\ No newline at end of file
......@@ -13243,6 +13243,9 @@ msgstr[1] ""
msgid "Instance Configuration"
msgstr ""
msgid "Instance Statistics"
msgstr ""
msgid "Instance administrators group already exists"
msgstr ""
......
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