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

%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/usage_statistics'), 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')