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.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/environments/_stop.html.haml b/app/views/projects/environments/_stop.html.haml
index 6ed6aee141b..c7dec086890 100644
--- a/app/views/projects/environments/_stop.html.haml
+++ b/app/views/projects/environments/_stop.html.haml
@@ -1,5 +1,5 @@
-- if environment.available? && environment.stoppable?
+- if environment.stoppable?
.inline
= link_to stop_namespace_project_environment_path(@project.namespace, @project, environment), method: :post,
- class: 'btn close-env-link', rel: 'nofollow', data: { confirm: 'Are you sure you want to close this environment?' } do
+ class: 'btn close-env-link', rel: 'nofollow', data: { confirm: 'Are you sure you want to stop this environment?' } do
= icon('stop', class: 'close-env-icon')