blob: f8f3ecb62735673c5d46c26a146aeaaa8f1841a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- return unless can?(current_user, :admin_operations, @project)
- expanded = expanded_by_default?
%section.settings.no-animate#js-alert-management-settings{ class: ('expanded' if expanded) }
.settings-header
%h3{ :class => "h4" }
= _('Alerts')
%button.btn.js-settings-toggle{ type: 'button' }
= _('Expand')
%p
= _('Display alerts from all your monitoring tools directly within GitLab.')
= link_to _('More information'), help_page_path('user/project/operations/alert_management'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
.js-alerts-settings{ data: alerts_settings_data }
|