From 8b0acb8f862d8f13411bba5c26da7e32e72ceec8 Mon Sep 17 00:00:00 2001 From: Julia Miocene Date: Wed, 28 Feb 2024 12:30:40 +0100 Subject: [PATCH] Remove outdated illustrations Remove illustrations on Prometheus integration page Changelog: changed --- ..._prometheus_configuration_banner.html.haml | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/app/views/shared/_prometheus_configuration_banner.html.haml b/app/views/shared/_prometheus_configuration_banner.html.haml index 7469260a9973b5..32a2d531347a1f 100644 --- a/app/views/shared/_prometheus_configuration_banner.html.haml +++ b/app/views/shared/_prometheus_configuration_banner.html.haml @@ -8,20 +8,11 @@ .info-well{ class: info_well_classes } = s_('PrometheusService|To use a Prometheus installed on a cluster, deactivate the manual configuration.') - else - .container-fluid - .row - - if integration.prometheus_available? - .col-sm-2 - .svg-container - = image_tag 'illustrations/monitoring/getting_started.svg' - .col-sm-10 - %p.text-success.gl-mt-3 - = s_('PrometheusService|You have a cluster with the Prometheus integration enabled.') - = link_button_to s_('PrometheusService|Manage clusters'), project_clusters_path(project) - - else - .col-sm-2 - = image_tag 'illustrations/monitoring/loading.svg' - .col-sm-10 - %p.gl-mt-3 - = s_('PrometheusService|Configure GitLab to query a Prometheus installed in one of your clusters.') - = link_button_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), variant: :confirm + - if integration.prometheus_available? + %p.text-success.gl-mt-3 + = s_('PrometheusService|You have a cluster with the Prometheus integration enabled.') + = link_button_to s_('PrometheusService|Manage clusters'), project_clusters_path(project) + - else + %p.gl-mt-3 + = s_('PrometheusService|Configure GitLab to query a Prometheus installed in one of your clusters.') + = link_button_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), variant: :confirm -- GitLab