2019-02-15 15:39:39 +05:30
|
|
|
- page_title _("Environments")
|
2021-01-03 14:25:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/environments'
|
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-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),
|
2020-06-23 00:09:42 +05:30
|
|
|
"help-page-path" => help_page_path("ci/environments/index.md"),
|
2021-04-29 21:17:54 +05:30
|
|
|
"project-path" => @project.full_path,
|
|
|
|
"default-branch-name" => @project.default_branch_or_master } }
|