Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « cohorts « instance_statistics « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5333f8b7a1f5a579ad8678c9a37213e5b59bb86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- breadcrumb_title _("Cohorts")

- if @cohorts
  = render 'cohorts_table'
- else
  .bs-callout.bs-callout-warning.clearfix
    %p
      - usage_ping_path = help_page_path('user/admin_area/settings/usage_statistics', anchor: 'usage-ping')
      - usage_ping_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: usage_ping_path }
      = s_('User Cohorts are only shown when the %{usage_ping_link_start}usage ping%{usage_ping_link_end} is enabled.').html_safe % { usage_ping_link_start: usage_ping_link_start, usage_ping_link_end: '</a>'.html_safe }
      - if current_user.admin?
        - application_settings_path = metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings')
        - application_settings_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: application_settings_path }
        = s_('To enable it and see User Cohorts, visit %{application_settings_link_start}application settings%{application_settings_link_end}.').html_safe % { application_settings_link_start: application_settings_link_start, application_settings_link_end: '</a>'.html_safe }