diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 13:43:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 13:43:29 +0300 |
commit | 3b1af5cc7ed2666ff18b718ce5d30fa5a2756674 (patch) | |
tree | 3bc4a40e0ee51ec27eabf917c537033c0c5b14d4 /app/views/projects/environments | |
parent | 9bba14be3f2c211bf79e15769cd9b77bc73a13bc (diff) |
Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r-- | app/views/projects/environments/edit.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/environments/new.html.haml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/environments/edit.html.haml b/app/views/projects/environments/edit.html.haml index 7a275b51c74..c7752a45c63 100644 --- a/app/views/projects/environments/edit.html.haml +++ b/app/views/projects/environments/edit.html.haml @@ -4,4 +4,5 @@ #js-edit-environment{ data: { project_environments_path: project_environments_path(@project), update_environment_path: project_environment_path(@project, @environment), protected_environment_settings_path: (project_settings_ci_cd_path(@project, anchor: 'js-protected-environments-settings') if @project.licensed_feature_available?(:protected_environments)), - environment: environment_data(@environment)} } + project_path: @project.full_path, + environment: environment_data(@environment) } } diff --git a/app/views/projects/environments/new.html.haml b/app/views/projects/environments/new.html.haml index 11c36b5ea6d..9e8484b88b9 100644 --- a/app/views/projects/environments/new.html.haml +++ b/app/views/projects/environments/new.html.haml @@ -3,4 +3,4 @@ - page_title s_("Environments|New Environment") - add_page_specific_style 'page_bundles/environments' -#js-new-environment{ data: { project_environments_path: project_environments_path(@project) } } +#js-new-environment{ data: { project_environments_path: project_environments_path(@project), project_path: @project.full_path, } } |