debian-mirror-gitlab/app/views/projects/_remove.html.haml

10 lines
414 B
Text
Raw Normal View History

2020-01-01 13:55:28 +05:30
- return unless can?(current_user, :remove_project, project)
.sub-section
2020-10-24 23:57:45 +05:30
%h4.danger-title= _('Delete project')
2020-01-01 13:55:28 +05:30
%p
2020-10-24 23:57:45 +05:30
%strong= _('Deleting the project will delete its repository and all related resources including issues, merge requests etc.')
2020-07-28 23:09:34 +05:30
%p
2020-10-24 23:57:45 +05:30
%strong= _('Deleted projects cannot be restored!')
2021-01-29 00:20:46 +05:30
#js-project-delete-button{ data: { form_path: project_path(project), confirm_phrase: project.path } }