lib/flapjack/gateways/web/views/contact.html.erb in flapjack-1.5.0 vs lib/flapjack/gateways/web/views/contact.html.erb in flapjack-1.6.0rc1

- old
+ new

@@ -22,10 +22,12 @@ <tr> <% if 'pagerduty'.eql?(mk) %> <td>PagerDuty</td> <td> <% @pagerduty_credentials.each_pair do |pk, pv| %> - <p><%= 'password'.eql?(pk) ? h("#{pk}: ...") : h("#{pk}: #{pv}") %></p> + <% unless pv.empty? %> + <p><%= 'password'.eql?(pk) ? h("#{pk}: ...") : h("#{pk}: #{pv}") %></p> + <% end %> <% end %> </td> <td></td> <td></td> <td></td>