BigW Consortium Gitlab

index.html.haml 965 Bytes
Newer Older
1
- @no_container = true
Kamil Trzcinski committed
2
- page_title "Environments"
3
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))
4
= render "projects/pipelines/head"
Kamil Trzcinski committed
5

6
- content_for :page_specific_javascripts do
7
  = page_specific_javascript_bundle_tag('common_vue')
8
  = page_specific_javascript_bundle_tag("environments")
9

10 11 12 13
#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,
14
  "project-environments-path" => project_environments_path(@project),
Filipa Lacerda committed
15
  "project-stopped-environments-path" => project_environments_path(@project, scope: :stopped),
16
  "new-environment-path" => new_project_environment_path(@project),
Filipa Lacerda committed
17
  "help-page-path" => help_page_path("ci/environments"),
18
  "css-class" => container_class } }