summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/_stop.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/environments/_stop.html.haml')
-rw-r--r--app/views/projects/environments/_stop.html.haml5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/projects/environments/_stop.html.haml b/app/views/projects/environments/_stop.html.haml
deleted file mode 100644
index c35f9af2873..00000000000
--- a/app/views/projects/environments/_stop.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-- if can?(current_user, :create_deployment, environment) && environment.stop_action?
- .inline
- = link_to stop_project_environment_path(@project, environment), method: :post,
- class: 'btn stop-env-link', rel: 'nofollow', data: { confirm: 'Are you sure you want to stop this environment?' } do
- = icon('stop', class: 'stop-env-icon')