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
332a9ba0
Commit
332a9ba0
authored
Mar 17, 2022
by
Ammar Alakkad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate to shared alert in projects deletion_failed
parent
81811623
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
app/views/projects/_deletion_failed.html.haml
app/views/projects/_deletion_failed.html.haml
+4
-7
No files found.
app/views/projects/_deletion_failed.html.haml
View file @
332a9ba0
-
project
=
local_assigns
.
fetch
(
:project
)
-
return
unless
project
.
delete_error
.
present?
.project-deletion-failed-message.gl-alert.gl-alert-warning
.gl-alert-container
=
sprite_icon
(
'warning'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-content
.gl-alert-body
This project was scheduled for deletion, but failed with the following message:
=
project
.
delete_error
=
render
'shared/global_alert'
,
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
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