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