diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-24 12:27:20 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-24 12:27:20 +0100 |
commit | e99647bf05482e2eecca254fac1c87c9cbe82864 (patch) | |
tree | 03e760d600d4764a2e072f4bd2e5c3856120dc8b /views/_alert_history.haml | |
parent | 71f395243d5cb7e2de918908f5c80b4ece37f58f (diff) |
Added missing views
Diffstat (limited to 'views/_alert_history.haml')
-rw-r--r-- | views/_alert_history.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/_alert_history.haml b/views/_alert_history.haml new file mode 100644 index 0000000..fbacda6 --- /dev/null +++ b/views/_alert_history.haml @@ -0,0 +1,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 |