diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-17 16:44:34 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-10-17 16:44:34 +0000 |
commit | fc68a3aeaff713de13e2f709588c82fdb8b48cfe (patch) | |
tree | 088b7a32e30aa6287f1b3a4075c9a01321296bc1 /app | |
parent | 75fb4af6d055bdddfd2cb1db7b47f709c8a041e7 (diff) | |
download | gitlab-ce-fc68a3aeaff713de13e2f709588c82fdb8b48cfe.tar.gz |
Change project deletion message from alert to notice
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index e90b75672ae..c45f31f9e7e 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -125,7 +125,7 @@ class ProjectsController < Projects::ApplicationController return access_denied! unless can?(current_user, :remove_project, @project) ::Projects::DestroyService.new(@project, current_user, {}).async_execute - flash[:alert] = _("Project '%{project_name}' will be deleted.") % { project_name: @project.name_with_namespace } + flash[:notice] = _("Project '%{project_name}' is in the process of being deleted.") % { project_name: @project.name_with_namespace } redirect_to dashboard_projects_path, status: 302 rescue Projects::DestroyService::DestroyError => ex |