summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
blob: 0136184f80d49d07c0ef464cfd54890b393edadf (plain)
1
2
3
4
5
6
7
8
9
10
- page_title _("Environments")
- add_page_specific_style 'page_bundles/environments'

#environments-list-view{ data: { environments_data: environments_list_data,
  "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/index.md"),
  "project-path" => @project.full_path,
  "default-branch-name" => @project.default_branch_or_main } }