summaryrefslogtreecommitdiff
path: root/app/views/admin/cohorts/index.html.haml
blob: 5e9a8c083aff9c82031ac648e545fec560044bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- breadcrumb_title "Cohorts"
- @no_container = true

%div{ class: container_class }
  - if @cohorts
    = render 'cohorts_table'
    = render 'usage_ping'
  - else
    .bs-callout.bs-callout-warning.clearfix
      %p
        User cohorts are only shown when the
        = link_to 'usage ping', help_page_path('user/admin_area/settings/usage_statistics', anchor: 'usage-ping'), target: '_blank'
        is enabled. To enable it and see user cohorts,
        visit
        = succeed '.' do
          = link_to 'application settings', admin_application_settings_path(anchor: 'usage-statistics')