diff options
author | Sean McGivern <sean@gitlab.com> | 2017-04-17 15:54:10 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-04-17 15:54:10 +0100 |
commit | 8d10add4a504079c00bea3284cb8a7ab71cc8aaf (patch) | |
tree | 9833864feee1ca62559a95865e02a8abbc56eead /app/views | |
parent | ae833a8b83bbdfa3ad95af56ca470e2ac51baadf (diff) | |
download | gitlab-ce-8d10add4a504079c00bea3284cb8a7ab71cc8aaf.tar.gz |
Don't show usage ping on settings page
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/application_settings/_form.html.haml | 11 | ||||
-rw-r--r-- | app/views/admin/cohorts/_usage_ping.html.haml | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml index 13e9faa9642..0dc1103eece 100644 --- a/app/views/admin/application_settings/_form.html.haml +++ b/app/views/admin/application_settings/_form.html.haml @@ -493,11 +493,12 @@ = f.check_box :usage_ping_enabled Usage ping enabled = link_to icon('question-circle'), help_page_path("user/admin_area/settings/usage_statistics", anchor: "usage-data") - .container - .help-block - Every week GitLab will report license usage back to GitLab, Inc. - Disable this option if you do not want this to occur. This is the JSON payload that will be sent: - %pre.usage-data.js-syntax-highlight.code.highlight{ "data-endpoint" => usage_data_admin_application_settings_path(format: :html) } + .help-block + Every week GitLab will report license usage back to GitLab, Inc. + Disable this option if you do not want this to occur. To see the + JSON payload that will be sent, visit the + = succeed '.' do + = link_to "Cohorts page", admin_cohorts_path(anchor: 'usage-ping') %fieldset %legend Email diff --git a/app/views/admin/cohorts/_usage_ping.html.haml b/app/views/admin/cohorts/_usage_ping.html.haml index a95f81a7f49..73aa95d84f1 100644 --- a/app/views/admin/cohorts/_usage_ping.html.haml +++ b/app/views/admin/cohorts/_usage_ping.html.haml @@ -1,4 +1,4 @@ -%h2 Usage ping +%h2#usage-ping Usage ping .bs-callout.clearfix %p |