diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-28 13:23:34 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-28 13:41:29 +0100 |
commit | 284d4f76fee9f593cb67f3f2978ad4f49ef03c13 (patch) | |
tree | 405f5d50f0536dd85c1694434adc453a301cc196 /app/views/admin | |
parent | ca6cc6014eed02b2e74bc8ffe65d3c1cc2e511b4 (diff) | |
download | gitlab-ce-284d4f76fee9f593cb67f3f2978ad4f49ef03c13.tar.gz |
Attempted adding separate clientside_sentry settings
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/application_settings/_form.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml index 0dc1103eece..5cc99e0833f 100644 --- a/app/views/admin/application_settings/_form.html.haml +++ b/app/views/admin/application_settings/_form.html.haml @@ -411,6 +411,21 @@ .col-sm-10 = f.text_field :sentry_dsn, class: 'form-control' + .form-group + .col-sm-offset-2.col-sm-10 + .checkbox + = f.label :clientside_sentry_enabled do + = f.check_box :clientside_sentry_enabled + Enable Clientside Sentry + .help-block + Sentry can also be used for reporting and logging clientside exceptions. + %a{ href: 'https://sentry.io/for/javascript/', target: '_blank', rel: 'noopener noreferrer' } https://sentry.io/for/javascript/ + + .form-group + = f.label :sentry_dsn, 'Sentry DSN', class: 'control-label col-sm-2' + .col-sm-10 + = f.text_field :sentry_dsn, class: 'form-control' + %fieldset %legend Repository Storage .form-group |