aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/_history.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/_history.haml b/views/_history.haml
index 61bcf59..03d02d7 100644
--- a/views/_history.haml
+++ b/views/_history.haml
@@ -4,7 +4,12 @@
%p
= history.created_at.strftime("%R")
- history.alerts.each do |alert|
- = alert.subject
+ %a{ :href => url_for(alert) }
+ = alert.id
+ %strong
+ = alert.subject
= alert.summary
+ - if alert.source != alert.subject
+ = "-- from #{alert.source}
= history.event
- @today = history.created_at