Commit 91238860 authored by Jacques's avatar Jacques

Migrate to shared alert component

Migrated the alert component to use the shared one
parent 2a4b6349
......@@ -10,12 +10,10 @@
%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.')
= 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 }
......
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