Commit b990dc7a authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch...

Merge branch '344353-make-badges-in-app-views-projects-services-prometheus-_metrics-html-haml-pajamas-compliant' into 'master'

Make badges in app/views/projects/services/ Pajamas-compliant

See merge request gitlab-org/gitlab!76956
parents 2c9b3469 1f62b918
......@@ -10,9 +10,7 @@
.card-header
%strong
= s_('PrometheusService|Custom metrics')
-# haml-lint:disable NoPlainNodes
%span.badge.badge-pill.js-custom-monitored-count 0
-# haml-lint:enable NoPlainNodes
= gl_badge_tag 0, nil, class: 'js-custom-monitored-count'
= link_to s_('PrometheusService|New metric'), new_project_prometheus_metric_path(project), class: 'btn gl-button btn-confirm gl-ml-auto js-new-metric-button hidden', data: { qa_selector: 'new_metric_button' }
.card-body
.flash-container.hidden
......
......@@ -12,7 +12,7 @@
.card-header
%strong
= s_('PrometheusService|Common metrics')
%span.badge.badge-pill.js-monitored-count 0
= gl_badge_tag 0, nil, class: 'js-monitored-count'
.card-body
.loading-metrics.js-loading-metrics
%p.m-3
......@@ -28,7 +28,7 @@
= sprite_icon('chevron-lg-right', css_class: 'panel-toggle js-panel-toggle-right' )
= sprite_icon('chevron-lg-down', css_class: 'panel-toggle js-panel-toggle-down hidden' )
= s_('PrometheusService|Missing environment variable')
%span.badge.badge-pill.js-env-var-count 0
= gl_badge_tag 0, nil, class: 'js-env-var-count'
.card-body.hidden
.flash-container
.flash-notice
......
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