blob: cb0ec9f19c8fb75ec0b7f9a9d504c39657c04420 (
plain)
1
2
3
4
5
6
7
8
9
10
|
- 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 and merge requests.')
= link_to _('Learn more.'), help_page_path('user/project/settings/index', anchor: 'removing-a-fork-relationship'), target: '_blank', rel: 'noopener noreferrer'
%p
%strong= _('Deleted projects cannot be restored!')
#js-project-delete-button{ data: { form_path: project_path(project), confirm_phrase: project.path } }
|