lib/flapjack/gateways/web/views/contact.html.erb in flapjack-0.8.8 vs lib/flapjack/gateways/web/views/contact.html.erb in flapjack-0.8.9

- old
+ new

@@ -101,19 +101,21 @@ <table class="table table-bordered table-hover table-condensed"> <tr> <th>ID</th> <th>Entities</th> <th>Tags</th> + <th>Regex Tags</th> <th>Warning Media</th> <th>Critical Media</th> <th>Time Restrictions</th> <th>Blackholes</th> </tr> <% rules.each do |rule| %> <tr> <td><%= h rule.id %></td> <td><%= h( (rule.entities && !rule.entities.empty?) ? rule.entities.join(', ') : '-') %></td> <td><%= h( (rule.tags && !rule.tags.empty?) ? rule.tags.to_a.join(', ') : '-') %></td> + <td><%= h( (rule.regex_tags && !rule.regex_tags.empty?) ? rule.regex_tags.to_a.join(', ') : '-') %></td> <td><%= h( (rule.warning_media && !rule.warning_media.empty?) ? rule.warning_media.join(', ') : '-')%></td> <td><%= h( (rule.critical_media && !rule.critical_media.empty?) ? rule.critical_media.join(', ') : '-') %></td> <td><%= h(rule.time_restrictions) %></td> <% blackholes = [] %> <% blackholes << 'Warning' if rule.warning_blackhole %>