lib/flapjack/gateways/email/alert.text.erb in flapjack-0.7.14 vs lib/flapjack/gateways/email/alert.text.erb in flapjack-0.7.15

- old
+ new

@@ -1,13 +1,14 @@ Hi <%= @contact_first_name %>, Monitoring has detected the following: -Entity: <%= @entity_name %> -Check: <%= @check %> -State: <%= @state %> +Entity: <%= @entity_name %> +Check: <%= @check %> +State: <%= @state %> Summary: <%= @summary %> -Time: <%= Time.at(@time.to_i).to_s %> +Time: <%= Time.at(@time.to_i).to_s %> (<%= @relative %> ago) +<%= @last_state ? "\nPrevious state: #{@last_state}" : '' %><%= @last_summary ? "\nPrevious summary: #{@last_summary}" : '' %> Cheers, Flapjack