diff options
author | Tristan Read <tread@gitlab.com> | 2019-01-10 15:48:06 +0100 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-01-24 08:57:21 +0100 |
commit | d28963b386c99ddf894e3bc0d4847305032dece2 (patch) | |
tree | c1c8974a4f48f4de3171138195789aacd0a3095a | |
parent | 94643f16d553679e6be53fa540c0884fbe8ba1ba (diff) | |
download | gitlab-ce-d28963b386c99ddf894e3bc0d4847305032dece2.tar.gz |
Add expand/collapse button to error tracking
-rw-r--r-- | app/views/projects/settings/operations/_error_tracking.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/settings/operations/_error_tracking.html.haml b/app/views/projects/settings/operations/_error_tracking.html.haml index 4911e8d3770..c79c3418354 100644 --- a/app/views/projects/settings/operations/_error_tracking.html.haml +++ b/app/views/projects/settings/operations/_error_tracking.html.haml @@ -2,10 +2,12 @@ - setting = error_tracking_setting -%section.settings.expanded.border-0.no-animate +%section.settings.border-0.no-animate{ class: ('expanded' if expanded) } .settings-header %h4 = _('Error Tracking') + %button.btn.btn-default.js-settings-toggle{ type: 'button' } + = expanded ? _('Collapse') : _('Expand') %p = _('To link Sentry to GitLab, enter your Sentry URL and Auth Token.') .settings-content |