debian-mirror-gitlab/app/views/notify/prometheus_alert_fired_email.html.haml
2020-04-22 19:07:51 +05:30

28 lines
623 B
Text

%p
= _('An alert has been triggered in %{project_path}.') % { project_path: @alert.project_full_path }
- if description = @alert.description
%p
= _('Description:')
= description
- if env_name = @alert.environment_name
%p
= _('Environment:')
= env_name
- if metric_query = @alert.metric_query
%p
= _('Metric:')
%pre
= metric_query
- if @alert.show_incident_issues_link?
%p
= link_to(_('View incident issues.'), @alert.incident_issues_link)
- if @alert.show_performance_dashboard_link?
%p
= link_to(_('View performance dashboard.'), @alert.performance_dashboard_link)