diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 14:32:37 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 14:32:37 +0100 |
commit | 9f6bee75108f08463516bce554b76faf56e2122f (patch) | |
tree | df069c4833125267665f79f7cf6b8d72102bdc37 /views | |
parent | fafac666b1d9f1b73fe4330af6b3c14d57ded2cb (diff) |
Updated history partial to be better.
Diffstat (limited to 'views')
-rw-r--r-- | views/_history.haml | 7 |
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 |