summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-05-02 16:56:49 +0000
committerDouwe Maan <douwe@gitlab.com>2017-05-02 16:56:49 +0000
commitd048d9268cd12fd78a1d07fb46b5c94a2cc16961 (patch)
treeae1404def0d7e9a29e96492b6fb89ab04fa14394 /app/views
parent9fce7c8e02b5486e4931432cad8b07830fa65278 (diff)
parent7f22256a63b2c4e6fb1a85beb2ad5420b085247e (diff)
downloadgitlab-ce-d048d9268cd12fd78a1d07fb46b5c94a2cc16961.tar.gz
Merge branch 'metrics-deployment-history' into 'master'
Metrics deployment history Closes #26914 See merge request !10649
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/environments/metrics.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index 766f119116f..e8f8fbbcf09 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -5,7 +5,7 @@
= page_specific_javascript_bundle_tag('monitoring')
= render "projects/pipelines/head"
-.prometheus-container{ class: container_class, 'data-has-metrics': "#{@environment.has_metrics?}" }
+#js-metrics.prometheus-container{ class: container_class, data: { has_metrics: "#{@environment.has_metrics?}", deployment_endpoint: namespace_project_environment_deployments_path(@project.namespace, @project, @environment, format: :json) } }
.top-area
.row
.col-sm-6