lib/flapjack/gateways/email/alert.text.erb in flapjack-1.2.1 vs lib/flapjack/gateways/email/alert.text.erb in flapjack-1.2.2
- old
+ new
@@ -3,10 +3,12 @@
Monitoring has detected the following:
Entity: <%= @alert.entity %>
Check: <%= @alert.check %>
State: <%= @alert.state_title_case %>
+<% if @alert.summary -%>
Summary: <%= @alert.summary %>
+<% end -%>
<% if @alert.details -%>
Details: <%= @alert.details %>
<% end -%>
<% if @alert.time -%>
Time: <%= Time.at(@alert.time.to_i).to_s %>