debian-mirror-gitlab/app/views/projects/_remove.html.haml
2020-08-09 17:44:08 +05:30

9 lines
465 B
Text

- 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) } }