diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-06-17 10:02:14 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-06-17 10:02:14 +0100 |
commit | 34edb01b0a6fd1fa7eca387c5a07a0763097ff80 (patch) | |
tree | adf616d93c06dae40a8d1a30f055a325cf4ead13 /lib/mauve/notifiers | |
parent | 507d98bf547250551ead1cf6ee74b8bb384bf242 (diff) |
Also fixed email template.
Diffstat (limited to 'lib/mauve/notifiers')
-rw-r--r-- | lib/mauve/notifiers/templates/email.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mauve/notifiers/templates/email.html.erb b/lib/mauve/notifiers/templates/email.html.erb index c568d77..6c323b0 100644 --- a/lib/mauve/notifiers/templates/email.html.erb +++ b/lib/mauve/notifiers/templates/email.html.erb @@ -4,11 +4,11 @@ <p><strong><%= alert.update_type.upcase %>:</strong> <% case alert.update_type when :cleared -%><%= MauveTime.now.to_s_relative(alert.cleared_at.to_time) %><% +%><%= alert.cleared_at.to_s_relative %><% when :acknowleged -%><%= MauveTime.now.to_s_relative(alert.acknowledged_at.to_time) %><% +%><%= alert.acknowledged_at.to_s_relative %><% else -%><%= MauveTime.now.to_s_relative(alert.raised_at.to_time) %><% +%><%= alert.raised_at.to_s_relative %><% end %>: <%= alert.summary %><% if alert.source != alert.subject |