2019-12-17 10:08:15 -05:00
|
|
|
- return unless can?(current_user, :remove_project, project)
|
|
|
|
|
|
|
|
.sub-section
|
2020-08-12 17:09:54 -04:00
|
|
|
%h4.danger-title= _('Delete project')
|
2019-12-17 10:08:15 -05:00
|
|
|
%p
|
2020-08-12 17:09:54 -04:00
|
|
|
%strong= _('Deleting the project will delete its repository and all related resources including issues, merge requests etc.')
|
2020-07-15 14:09:09 -04:00
|
|
|
%p
|
2020-08-12 17:09:54 -04:00
|
|
|
%strong= _('Deleted projects cannot be restored!')
|
2020-11-11 07:09:06 -05:00
|
|
|
#js-project-delete-button{ data: { form_path: project_path(project), confirm_phrase: project.path } }
|