Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_stop.html.haml « environments « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69848123c170e950bdb5bb7e48f45b70df913688 (plain)
1
2
3
4
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 stop-env-link', rel: 'nofollow', data: { confirm: 'Are you sure you want to stop this environment?' } do
      = icon('stop', class: 'stop-env-icon')