gitlab-org--gitlab-foss/app/views/projects/environments/index.html.haml

12 lines
610 B
Text
Raw Normal View History

2016-06-10 17:36:54 -04:00
- @no_container = true
2016-04-29 09:14:38 -04:00
- page_title "Environments"
2017-09-06 06:58:24 -04:00
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))
2016-04-29 09:14:38 -04:00
#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),
2016-11-18 10:44:21 -05:00
"help-page-path" => help_page_path("ci/environments"),
2017-02-24 13:47:17 -05:00
"css-class" => container_class } }