Commit 086f9c68 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/325374/alertPartialMergeInvalid' into 'master'

Migrate invalid merge request alert to global_alert partial

See merge request gitlab-org/gitlab!82898
parents e1dd2d51 7bb5f18a
...@@ -9,10 +9,9 @@ ...@@ -9,10 +9,9 @@
= render "projects/merge_requests/mr_title" = render "projects/merge_requests/mr_title"
= render "projects/merge_requests/mr_box" = render "projects/merge_requests/mr_box"
.gl-alert.gl-alert-danger = render 'shared/global_alert',
.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{ role: 'alert' }
.gl-alert-body .gl-alert-body
- if @merge_request.for_fork? && !@merge_request.source_project - if @merge_request.for_fork? && !@merge_request.source_project
= err_fork_project_removed = err_fork_project_removed
......
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