lib/flapjack/gateways/email/alert.html.haml in flapjack-0.7.14 vs lib/flapjack/gateways/email/alert.html.haml in flapjack-0.7.15
- old
+ new
@@ -39,10 +39,22 @@
%strong Details
%td= @details
%tr
%td
%strong Time
- %td= Time.at(@time.to_i).to_s
+ %td
+ = Time.at(@time.to_i).to_s
+ ( #{@relative} ago)
+
+ - if @last_state
+ %tr
+ %td Previous state
+ %td= @last_state
+
+ - if @last_summary
+ %tr
+ %td Previous summary
+ %td= @last_summary
%p Cheers,
%p Flapjack