debian-mirror-gitlab/app/views/projects/environments/index.html.haml

12 lines
610 B
Text
Raw Normal View History

- @no_container = true
- page_title "Environments"
2018-03-17 18:26:18 +05:30
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))
2017-09-10 17:25:29 +05:30
2017-08-17 22:00:37 +05:30
#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,
2017-09-10 17:25:29 +05:30
"new-environment-path" => new_project_environment_path(@project),
2017-08-17 22:00:37 +05:30
"help-page-path" => help_page_path("ci/environments"),
"css-class" => container_class } }