summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_metrics_dashboard_yml.html.haml
blob: ecbf6d9005d9f2ae094afa556c0505836c0b9f26 (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('operations/metrics/dashboards/index.md', anchor: 'defining-custom-dashboards-per-project')