From 38ea2c6f6e84ac47672cfb1a73fa7bbb599064ae Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Mon, 4 Jul 2011 15:18:35 +0100 Subject: Added byline to acknowledged updates. --- lib/mauve/notifiers/templates/email.html.erb | 2 +- lib/mauve/notifiers/templates/email.txt.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mauve/notifiers/templates/email.html.erb b/lib/mauve/notifiers/templates/email.html.erb index c2016fd..ab65b48 100644 --- a/lib/mauve/notifiers/templates/email.html.erb +++ b/lib/mauve/notifiers/templates/email.html.erb @@ -6,7 +6,7 @@ case alert.update_type.to_sym when :cleared %><%= alert.cleared_at.to_s_relative %><% when :acknowledged -%><%= alert.acknowledged_at.to_s_relative %><% +%><%= alert.acknowledged_at.to_s_relative %> by <%= alert.acknowledged_by%><% else %><%= alert.raised_at.to_s_relative %><% end diff --git a/lib/mauve/notifiers/templates/email.txt.erb b/lib/mauve/notifiers/templates/email.txt.erb index dbbd3fa..57b9309 100644 --- a/lib/mauve/notifiers/templates/email.txt.erb +++ b/lib/mauve/notifiers/templates/email.txt.erb @@ -3,7 +3,7 @@ case alert.update_type.to_sym when :cleared %><%= alert.cleared_at.to_s_relative %><% when :acknowledged -%><%= alert.acknowledged_at.to_s_relative %><% +%><%= alert.acknowledged_at.to_s_relative %> by <%= alert.acknowledged_by %><% else %><%= alert.raised_at.to_s_relative %><% end -- cgit v1.2.1