summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-17 22:10:43 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-10-17 22:10:43 +0100
commitc3cf103fee47c056c7258d2921a34cf68a02022c (patch)
treebf3f373c8e708f8cfb7426cb2819c8fe099cbe3e /app/views/projects/environments
parent34e19b9b8dccd7cd2e6c2bb408e75c70f3b6f3b9 (diff)
downloadgitlab-ce-c3cf103fee47c056c7258d2921a34cf68a02022c.tar.gz
Updates class name for consistency
Diffstat (limited to 'app/views/projects/environments')
-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 880f8c8c62c..69848123c17 100644
--- a/app/views/projects/environments/_stop.html.haml
+++ b/app/views/projects/environments/_stop.html.haml
@@ -1,5 +1,5 @@
- if can?(current_user, :create_deployment, environment) && 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 stop this environment?' } do
- = icon('stop', class: 'close-env-icon')
+ 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')