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