aboutsummaryrefslogtreecommitdiff
path: root/views/_alert_history.haml
blob: fbacda66644883322dbf6f887abf5e72fcd0a5dd (plain)
1
2
3
4
5
6
7
%p
  = history.created_at.strftime("%R")
  - these_alerts = (@alerts.nil? ? history.alerts : @alerts.select{|a| history.alert_ids.include?(a.id)})
  - these_alerts.each do |alert|
    = alert.subject
    = alert.summary
  = history.event