summaryrefslogtreecommitdiff
path: root/app/views/projects/_deletion_failed.html.haml
blob: f9d8a2d29894ddeaf97393a38adf5d307d28a757 (plain)
1
2
3
4
5
6
7
8
9
- project = local_assigns.fetch(:project)
- return unless project.delete_error.present?

= render Pajamas::AlertComponent.new(variant: :warning,
  dismissible: false,
  alert_class: 'project-deletion-failed-message') do
  .gl-alert-body
    This project was scheduled for deletion, but failed with the following message:
    = project.delete_error