summaryrefslogtreecommitdiff
path: root/app/views/projects/services/alerts/_top.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/services/alerts/_top.html.haml')
-rw-r--r--app/views/projects/services/alerts/_top.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/services/alerts/_top.html.haml b/app/views/projects/services/alerts/_top.html.haml
new file mode 100644
index 00000000000..ebc93978832
--- /dev/null
+++ b/app/views/projects/services/alerts/_top.html.haml
@@ -0,0 +1,8 @@
+.row
+ .col-lg-12
+ .gl-alert.gl-alert-info.js-alerts-moved-alert{ role: 'alert' }
+ = sprite_icon('information-o', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
+ .gl-alert-body
+ = _('You can now manage alert endpoint configuration in the Alerts section on the Operations settings page. Fields on this page have been deprecated.')
+ .gl-alert-actions
+ = link_to _('Visit settings page'), project_settings_operations_path(@project, anchor: 'js-alert-management-settings'), class: 'btn gl-alert-action btn-info new-gl-button'