Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jvargas@gitlab.com>2018-06-29 22:07:34 +0300
committerJose <jvargas@gitlab.com>2018-07-04 18:37:19 +0300
commit786edcb4f92ec5eb15c38945da4517dee0d5c100 (patch)
tree851735a078ffc5d6263645dba2166fb6a57b1be4 /app/views/projects/environments
parent8ec30e758ca3298017469c6395570611a5e2efdf (diff)
populate environments dropdown, add tests
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/metrics.html.haml1
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'),