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

- old
+ new

@@ -100,20 +100,22 @@ <% else %> <table class="table table-bordered table-hover table-condensed"> <tr> <th>ID</th> <th>Entities</th> + <th>Entities Regex</th> <th>Tags</th> - <th>Regex Tags</th> + <th>Tags Regex</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.regex_entities && !rule.regex_entities.empty?) ? rule.regex_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>