diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/alert.haml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/views/alert.haml b/views/alert.haml index b752f35..7e7503f 100644 --- a/views/alert.haml +++ b/views/alert.haml @@ -56,7 +56,15 @@ = change.person at = change.at.to_s_human - + %tr + %th History + %td + %ul + - @alert.histories.each do |history| + %li + = history.event + at + = (history.created_at.nil? ? "unkown" : history.created_at.to_s_human) %h2 Actions - if !@alert.acknowledged? %form{:method => :post, :action => "/alert/#{@alert.id}/acknowledge"} |