From 6fe5fa125ef2724e91dadf3a6d37766fee55aa71 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 16 Sep 2011 12:49:01 +0100 Subject: Updated XMPP template --- lib/mauve/notifiers/templates/xmpp.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mauve/notifiers/templates/xmpp.html.erb b/lib/mauve/notifiers/templates/xmpp.html.erb index 7c0bbfd..12354a2 100644 --- a/lib/mauve/notifiers/templates/xmpp.html.erb +++ b/lib/mauve/notifiers/templates/xmpp.html.erb @@ -1,4 +1,4 @@ - + <%= alert.id%>: <%= alert.update_type.upcase %>: <% case alert.update_type when "cleared" @@ -8,7 +8,7 @@ when "acknowledged" else %><%= alert.raised_at.to_s_relative %><% end -%>: <%= alert.subject %>: <%= alert.summary %><% +%>: <%= alert.subject %> <%= alert.summary %><% if alert.source != alert.subject %> -- from <%= alert.source %><% end -- cgit v1.2.1