Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-11 15:09:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-11 15:09:06 +0300
commit9517d0eb2ca8bde02d7fae2173e0a43b67b2b9f5 (patch)
treec3807f1807384fda69b8a42a439700f52b5dd1f0 /app/views/projects/_remove.html.haml
parent3454d4cbe3d553e14006e301a4d6843484ce675f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/_remove.html.haml')
-rw-r--r--app/views/projects/_remove.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/_remove.html.haml b/app/views/projects/_remove.html.haml
index 05eab3b3245..c246c45d0f7 100644
--- a/app/views/projects/_remove.html.haml
+++ b/app/views/projects/_remove.html.haml
@@ -1,5 +1,4 @@
- return unless can?(current_user, :remove_project, project)
-- confirm_phrase = s_('DeleteProject|Delete %{name}') % { name: project.full_name }
.sub-section
%h4.danger-title= _('Delete project')
@@ -7,4 +6,4 @@
%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: confirm_phrase } }
+ #js-project-delete-button{ data: { form_path: project_path(project), confirm_phrase: project.path } }