summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
blob: 31cf173fa9ca4c53845c99522921990266ef5020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- @no_container = true
- page_title "Environments"
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))

- content_for :page_specific_javascripts do
  = webpack_bundle_tag("common_vue")
  = webpack_bundle_tag("environments")

#environments-list-view{ data: { environments_data: environments_list_data,
  "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s,
  "can-read-environment" => can?(current_user, :read_environment, @project).to_s,
  "can-create-environment" => can?(current_user, :create_environment, @project).to_s,
  "new-environment-path" => new_project_environment_path(@project),
  "help-page-path" => help_page_path("ci/environments"),
  "css-class" => container_class } }