diff options
author | Jose <jvargas@gitlab.com> | 2018-06-29 22:07:34 +0300 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-07-04 18:37:19 +0300 |
commit | 786edcb4f92ec5eb15c38945da4517dee0d5c100 (patch) | |
tree | 851735a078ffc5d6263645dba2166fb6a57b1be4 /app/views/projects/environments | |
parent | 8ec30e758ca3298017469c6395570611a5e2efdf (diff) |
populate environments dropdown, add tests
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r-- | app/views/projects/environments/metrics.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml index a3ad3eabb3b..290970a1045 100644 --- a/app/views/projects/environments/metrics.html.haml +++ b/app/views/projects/environments/metrics.html.haml @@ -4,6 +4,7 @@ .prometheus-container{ class: container_class } #prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'), "clusters-path": project_clusters_path(@project), + "current-environment-name": @environment.name, "documentation-path": help_page_path('administration/monitoring/prometheus/index.md'), "empty-getting-started-svg-path": image_path('illustrations/monitoring/getting_started.svg'), "empty-loading-svg-path": image_path('illustrations/monitoring/loading.svg'), |