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,14 +10,12 @@
%hr
- if hook_log.internal_error_message.present?
.gl-alert-container
.gl-alert.gl-alert-danger
.gl-alert-container
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-content
%h4.gl-alert-title= _('Internal error occurred while delivering this webhook.')
.gl-alert-body
= _('Error: %{error}') % { error: hook_log.internal_error_message }
= render 'shared/global_alert',
title: _('Internal error occurred while delivering this webhook.'),
variant: :danger,
dismissible: false do
.gl-alert-body
= _('Error: %{error}') % { error: hook_log.internal_error_message }
%h4= _('Response')
= render partial: 'shared/hook_logs/status_label', locals: { hook_log: hook_log }
......
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