Commit 7bb5f18a authored by Phil Hughes's avatar Phil Hughes

Migrate invalid merge request alert to global_alert partial

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/325374
parent 468127f6
......@@ -9,10 +9,9 @@
= render "projects/merge_requests/mr_title"
= render "projects/merge_requests/mr_box"
.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{ role: 'alert' }
= render 'shared/global_alert',
variant: :danger,
dismissible: false do
.gl-alert-body
- if @merge_request.for_fork? && !@merge_request.source_project
= 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