From 9f6bee75108f08463516bce554b76faf56e2122f Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 1 May 2012 14:32:37 +0100 Subject: Updated history partial to be better. --- views/_history.haml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views') 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 -- cgit v1.2.1