summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_metrics_dashboard_yml.html.haml
blob: fc8683e1d19a2bab429e941613f93cca5fee9c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
- if viewer.valid?
  = icon('check fw')
  = _('Metrics Dashboard YAML definition is valid.')
- else
  = icon('warning fw')
  = _('Metrics Dashboard YAML definition is invalid:')
  %ul
    - viewer.errors.messages.each do |error|
      %li= error.join(': ')

= link_to _('Learn more'), help_page_path('user/project/integrations/prometheus.md', anchor: 'defining-custom-dashboards-per-project')