Commit fbbf103a authored by Mike Greiling's avatar Mike Greiling

remove unnecessary wrapper class

parent cc45fb02
...@@ -2,21 +2,20 @@ ...@@ -2,21 +2,20 @@
%section.settings.no-animate.expanded#cluster-health %section.settings.no-animate.expanded#cluster-health
%h4= s_('ClusterIntegration|Kubernetes cluster health') %h4= s_('ClusterIntegration|Kubernetes cluster health')
.settings-content - if @cluster&.application_prometheus&.installed?
- if @cluster&.application_prometheus&.installed? #prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'), "clusters-path": project_clusters_path(@project),
"clusters-path": project_clusters_path(@project), "documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'), "empty-getting-started-svg-path": image_path('illustrations/monitoring/getting_started.svg'),
"empty-getting-started-svg-path": image_path('illustrations/monitoring/getting_started.svg'), "empty-loading-svg-path": image_path('illustrations/monitoring/loading.svg'),
"empty-loading-svg-path": image_path('illustrations/monitoring/loading.svg'), "empty-unable-to-connect-svg-path": image_path('illustrations/monitoring/unable_to_connect.svg'),
"empty-unable-to-connect-svg-path": image_path('illustrations/monitoring/unable_to_connect.svg'), "metrics-endpoint": metrics_namespace_project_cluster_path( format: :json ),
"metrics-endpoint": metrics_namespace_project_cluster_path( format: :json ), "project-path": project_path(@project),
"project-path": project_path(@project), "tags-path": project_tags_path(@project),
"tags-path": project_tags_path(@project), "has-metrics": "true" } }
"has-metrics": "true" } }
- else - else
%p= s_("ClusterIntegration|In order to show the health of the cluster, we'll need to provision your cluster with Prometheus to collect the required data.") %p= s_("ClusterIntegration|In order to show the health of the cluster, we'll need to provision your cluster with Prometheus to collect the required data.")
%a.btn{ href: '#cluster-applications' } %a.btn{ href: '#cluster-applications' }
= s_('ClusterIntegration|Install Prometheus') = s_('ClusterIntegration|Install Prometheus')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment