summaryrefslogtreecommitdiff
path: root/app/views/admin/cohorts/_usage_ping.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/cohorts/_usage_ping.html.haml')
-rw-r--r--app/views/admin/cohorts/_usage_ping.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/admin/cohorts/_usage_ping.html.haml b/app/views/admin/cohorts/_usage_ping.html.haml
new file mode 100644
index 00000000000..73aa95d84f1
--- /dev/null
+++ b/app/views/admin/cohorts/_usage_ping.html.haml
@@ -0,0 +1,10 @@
+%h2#usage-ping Usage ping
+
+.bs-callout.clearfix
+ %p
+ User cohorts are shown because the usage ping is enabled. The data sent with
+ this is shown below. To disable this, visit
+ = succeed '.' do
+ = link_to 'application settings', admin_application_settings_path(anchor: 'usage-statistics')
+
+%pre.usage-data.js-syntax-highlight.code.highlight{ data: { endpoint: usage_data_admin_application_settings_path(format: :html, pretty: true) } }