lib/flapjack/gateways/email/alert.html.erb in flapjack-0.7.27 vs lib/flapjack/gateways/email/alert.html.erb in flapjack-0.7.28

- old
+ new

@@ -27,11 +27,11 @@ <td><%= @check %></td> </tr> <tr> <td><strong>State</strong></td> - <td><%= @state.upcase %></td> + <td><%= ['ok'].include?(@state) ? @state.upcase : @state.titleize %></td> </tr> <tr> <td><strong>Summary</strong></td> <td><%= @summary %></td> @@ -59,11 +59,11 @@ <% end %> <% if @last_state %> <tr> <td><strong>Previous State</strong></td> - <td><%= @last_state.upcase %></td> + <td><%= ['ok'].include?(@last_state) ? @last_state.upcase : @last_state.titleize %></td> </tr> <% end %> <% if @last_summary %> <tr> @@ -73,7 +73,7 @@ <% end %> </tbody> </table> -<p>Cheers,</p> -<p>Flapjack</p> +<p>Cheers,<br/> +Flapjack</p>