Commit 1f62b918 authored by anna_vovchenko's avatar anna_vovchenko

Updated badges to the Pajamas-compliant component

parent a6dec7d9
...@@ -10,9 +10,7 @@ ...@@ -10,9 +10,7 @@
.card-header .card-header
%strong %strong
= s_('PrometheusService|Custom metrics') = s_('PrometheusService|Custom metrics')
-# haml-lint:disable NoPlainNodes = gl_badge_tag 0, nil, class: 'js-custom-monitored-count'
%span.badge.badge-pill.js-custom-monitored-count 0
-# haml-lint:enable NoPlainNodes
= 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' } = 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 .card-body
.flash-container.hidden .flash-container.hidden
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
.card-header .card-header
%strong %strong
= s_('PrometheusService|Common metrics') = s_('PrometheusService|Common metrics')
%span.badge.badge-pill.js-monitored-count 0 = gl_badge_tag 0, nil, class: 'js-monitored-count'
.card-body .card-body
.loading-metrics.js-loading-metrics .loading-metrics.js-loading-metrics
%p.m-3 %p.m-3
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
= sprite_icon('chevron-lg-right', css_class: 'panel-toggle js-panel-toggle-right' ) = 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' ) = sprite_icon('chevron-lg-down', css_class: 'panel-toggle js-panel-toggle-down hidden' )
= s_('PrometheusService|Missing environment variable') = 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 .card-body.hidden
.flash-container .flash-container
.flash-notice .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