anchor.diff:            <% @entities.each do |data| %>
             <%   entity = data[1][:object] %>
             <tr class="<%= entity ? 
  -                    (entity.created_by_import ? 'import-match warning' : 'import-match success') : 
  -                    'import-fail error' %>">
  +                    (entity.created_by_import ? 'warning' : 'success') : 
  +                    'error' %>">
               <td><%= "#{data[0]} (#{data[1][:count]})" %></td>
               <td><%= (entity && entity.created_by_import) ? '' : (entity && entity.short_or_long_name) %></td>
             </tr>
  
positive.code:         <tbody>
            <% @relation_types.each do |data| %>
            <%   relation_type = data[1][:object] %>
            <tr class="<%= relation_type ? 'import-match success' : 'import-fail error' %>">
              <td><%= "#{data[0]} (#{data[1][:count]})" %></td>
              <td><%= relation_type && relation_type.description %></td>
            </tr>
  
negative.code:   });
  
    $('#show-all-button').click(function() {
      $(".success").show();
      $(".warning").show();
      $(".error").show();
    });
    $('#show-matches-button').click(function() { 
      $(".success").show();
      $(".warning").show();
      $(".error").hide();
    });
    $('#show-non-matches-button').click(function() { 
      $(".success").hide();
      $(".warning").hide();
      $(".error").show();
    });
  
    $('#commit-button').click(function() {
  