Commit 012aa2fa authored by Fatih Acet's avatar Fatih Acet

Merge branch 'psimyn-operations-collapse-settings' into 'master'

Add Collapse buttons to Operations settings

See merge request gitlab-org/gitlab-ee!15118
parents ac4f9e7a b6caf0b5
......@@ -4,9 +4,11 @@
- setting = project_incident_management_setting
- templates = setting.available_issue_templates.map { |t| [t.name, t.key] }
%section.settings.expanded.no-animate
%section.settings.no-animate
.settings-header
%h4= _('Incidents')
%button.btn.js-settings-toggle{ type: 'button' }
= _('Expand')
%p
= _('Action to take when receiving an alert.')
= link_to help_page_path('user/project/integrations/prometheus', anchor: 'taking-action-on-an-alert-ultimate') do
......
......@@ -3,10 +3,12 @@
- setting = tracing_setting
- has_jaeger_url = setting.external_url.present?
%section.settings.expanded.border-0.no-animate
%section.settings.border-0.no-animate
.settings-header{ :class => "border-top" }
%h4
= _("Jaeger tracing")
%button.btn.js-settings-toggle{ type: 'button' }
= _('Expand')
%p
- if has_jaeger_url
- tracing_link = link_to sanitize(@project.tracing_external_url, scrubber: Rails::Html::TextOnlyScrubber.new), target: "_blank", rel: 'noopener noreferrer' do
......
---
title: Add Collapse buttons to Operations settings
merge_request: 15117
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment