aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifiers/templates/email.html.erb
blob: fcf06204f208ade3bc614447aef42b003b8367e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<p><strong><%= alert.update_type.upcase %></strong> <% 
case alert.update_type 
when :cleared 
%><%= MauveTime.now.to_s_relative(alert.cleared_at.to_time) %><% 
when :acknowleged 
%><%= MauveTime.now.to_s_relative(alert.acknowledged_at.to_time) %><% 
else
%><%= MauveTime.now.to_s_relative(alert.raised_at.to_time) %><% 
end 
%>: <%= alert.summary %><%
if alert.source != alert.subject 
%> -- <em>from <%= alert.source %></em><%
end 
%>.

<hr />

<div>
<%=alert.detail %>
</div>

<hr />

<address>
--<br />
Love mauve<br />
xxx.
</address>