9 lines
414 B
Text
9 lines
414 B
Text
- return unless can?(current_user, :remove_project, project)
|
|
|
|
.sub-section
|
|
%h4.danger-title= _('Delete project')
|
|
%p
|
|
%strong= _('Deleting the project will delete its repository and all related resources including issues, merge requests etc.')
|
|
%p
|
|
%strong= _('Deleted projects cannot be restored!')
|
|
#js-project-delete-button{ data: { form_path: project_path(project), confirm_phrase: project.path } }
|