Commit 61660523 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '325365-migrate-to-shared-alert-in-projects-deletion-failed' into 'master'

Migrate to shared alert in projects deletion_failed

See merge request gitlab-org/gitlab!83073
parents 12c575e3 332a9ba0
- project = local_assigns.fetch(:project) - project = local_assigns.fetch(:project)
- return unless project.delete_error.present? - return unless project.delete_error.present?
.project-deletion-failed-message.gl-alert.gl-alert-warning = render 'shared/global_alert', variant: :warning, dismissible: false, alert_class: 'project-deletion-failed-message' do
.gl-alert-container .gl-alert-body
= sprite_icon('warning', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') This project was scheduled for deletion, but failed with the following message:
.gl-alert-content = project.delete_error
.gl-alert-body
This project was scheduled for deletion, but failed with the following message:
= project.delete_error
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