aboutsummaryrefslogtreecommitdiff
path: root/views/_history.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-02 15:24:22 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-02 15:24:22 +0100
commit2e0b89b33d4c9944440bba49e6926a51b46d02c3 (patch)
tree2a28075d9b7459b469afb1988572cb61f4221881 /views/_history.haml
parente55096b063720e0be4ca8d774095d2f6dfb7c086 (diff)
parentc697cea61321a8b292b4e353afc9dbff8a552b94 (diff)
merge
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