diff options
Diffstat (limited to 'app/views/projects/services/prometheus/_custom_metrics.html.haml')
-rw-r--r-- | app/views/projects/services/prometheus/_custom_metrics.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/services/prometheus/_custom_metrics.html.haml b/app/views/projects/services/prometheus/_custom_metrics.html.haml index 724950bcb39..4586ee844c0 100644 --- a/app/views/projects/services/prometheus/_custom_metrics.html.haml +++ b/app/views/projects/services/prometheus/_custom_metrics.html.haml @@ -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 |