summaryrefslogtreecommitdiff
path: root/app/views/projects/_remove.html.haml
blob: 528d802261c072bfd65911d1e278fd584e78db4f (plain)
1
2
3
4
5
6
7
8
9
- return unless can?(current_user, :remove_project, project)

.sub-section
  %h4.danger-title= _('Remove project')
  %p
    %strong= _('Removing the project will delete its repository and all related resources including issues, merge requests etc.')
  %p
    %strong= _('Removed projects cannot be restored!')
  #js-confirm-project-remove{ data: { form_path: project_path(project), confirm_phrase: project.path, warning_message: remove_project_message(project) } }