Commit 070165f0 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds stop template

parent adb22344
- if can?(current_user, :create_deployment, @project)
.inline{ "v-if" => "environment.stop_action"}
-# TODO: Fix this link
-# link_to stop_namespace_project_environment_path(@project.namespace, @project, environment)
%a{":href" => "",
"method" => ":post",
"rel" => "nofollow", "confirm" => "Are you sure you want to stop this environment?"}
= icon('stop', class: 'stop-env-icon')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment