debian-mirror-gitlab/app/views/projects/settings/operations/_alert_management.html.haml

17 lines
770 B
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- return unless can?(current_user, :admin_operations, @project)
- expanded = expanded_by_default?
2021-01-29 00:20:46 +05:30
- add_page_specific_style 'page_bundles/alert_management_settings'
2021-03-08 18:12:59 +05:30
- add_page_specific_style 'page_bundles/incident_management_list'
2020-07-28 23:09:34 +05:30
%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.')
2021-01-03 14:25:43 +05:30
= link_to _('More information'), help_page_path('operations/incident_management/index.md'), target: '_blank', rel: 'noopener noreferrer'
2020-07-28 23:09:34 +05:30
.settings-content
.js-alerts-settings{ data: alerts_settings_data }