Commit a1a5ec08 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '354591-mgrate-alert' into 'master'

Migrate to shared alert component

See merge request gitlab-org/gitlab!83292
parents e2a9756f 91238860
...@@ -10,12 +10,10 @@ ...@@ -10,12 +10,10 @@
%hr %hr
- if hook_log.internal_error_message.present? - if hook_log.internal_error_message.present?
.gl-alert-container = render 'shared/global_alert',
.gl-alert.gl-alert-danger title: _('Internal error occurred while delivering this webhook.'),
.gl-alert-container variant: :danger,
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') dismissible: false do
.gl-alert-content
%h4.gl-alert-title= _('Internal error occurred while delivering this webhook.')
.gl-alert-body .gl-alert-body
= _('Error: %{error}') % { error: hook_log.internal_error_message } = _('Error: %{error}') % { error: hook_log.internal_error_message }
......
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