Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
91238860
Commit
91238860
authored
Mar 21, 2022
by
Jacques
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate to shared alert component
Migrated the alert component to use the shared one
parent
2a4b6349
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
app/views/shared/hook_logs/_content.html.haml
app/views/shared/hook_logs/_content.html.haml
+6
-8
No files found.
app/views/shared/hook_logs/_content.html.haml
View file @
91238860
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment