diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-01-11 19:14:49 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-01-11 19:47:19 +0300 |
commit | 3e60798e110764cd06a2966c3be8e048b2b9019c (patch) | |
tree | f94dfa0d87eb857bc21d65b56f87ff0d5ae42364 /app/views/projects/environments | |
parent | 1a3193318813d268ef3dc6b879ea0fd82cc40402 (diff) |
Backporting environments helper
Allowing the EE to override a helper function to pass more data to vue
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r-- | app/views/projects/environments/folder.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/environments/folder.html.haml b/app/views/projects/environments/folder.html.haml index b7e1cf85cb7..aebd176af9b 100644 --- a/app/views/projects/environments/folder.html.haml +++ b/app/views/projects/environments/folder.html.haml @@ -1,8 +1,5 @@ - @no_container = true - page_title _("Environments") -#environments-folder-list-view{ data: { endpoint: folder_project_environments_path(@project, @folder, format: :json), - "folder-name" => @folder, - "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s, - "can-read-environment" => can?(current_user, :read_environment, @project).to_s, +#environments-folder-list-view{ data: { environments_data: environments_folder_list_view_data, "css-class" => container_class } } |