anchor.diff:    if name = observation.name
       lines << link_to(:show_name.t(name: name.display_name), controller: :name,
                        action: :show_name, id: name.id)
  -    lines << link_to(name.display_name.t + " " + :show_name_on_mycoportal.t, mycoportal_url(name))
  -    lines << link_to(name.text_name.t + " " + :show_name_on_mycobank.t, mycobank_url(name))
  +    lines << link_to(name.display_name.t + " " + :show_name_on_mycoportal.t,
  +                     mycoportal_url(name))
  +    lines << link_to(name.text_name.t + " " + :show_name_on_mycobank.t,
  +                     mycobank_url(name))
    end
   
     if name && !name.unknown? && !browser.bot?
  
positive.code:       else
          label = links.length > 1 ? :show_observation_alternative_names.t : :show_observation_alternative_name.t
        end
        lines << label + ': ' + content_tag(:span, links.safe_join(', '), :class => :Data)
      end
  
      data = []
      sum = 0
      for name2 in [name] + approved_synonyms
        query = Query.lookup(:Observation, :of_name, :name => name2, :by => :confidence)
        count = query.select_count
        if count > 0
          sum += count
  
negative.code:         name2 = datum[:name]
          query = datum[:query]
          count = datum[:count]
          lines << link_to(:show_name_observations_of.t(name: name2.display_name),
            add_query_param({ controller: "observer",
                              action: "index_observation" }, query)) +
                     " (#{count})"
        end
      end
  
      query = Query.lookup(:Observation, :of_name, name: name, by: :confidence,
                           synonyms: :all)
      count = query.select_count
      query.save
      if data.length > 1
        lines << link_to(:show_name_all_observations.t,
          add_query_param({controller: "observer",
                           action: "index_observation"}, query)) + " (#{count})"
      else
        lines << link_to(:show_name_observations.t,
          add_query_param({controller: "observer",
                           action: "index_observation"}, query)) + " (#{count})"
      end
  
      query = Query.lookup(:Observation, :of_name, name: name, by: :confidence,
                           synonyms: :all, nonconsensus: :exclusive)
      count = query.select_count
      if count > 0
        query.save
        lines << link_to(:show_name_other_observations.t,
          add_query_param({controller: "observer",
                           action: "index_observation"}, query)) + " (#{count})"
      end
  
      if genus = name.genus
        query = Query.lookup(:Name, :of_children, name: genus, all: true)
        count = query.select_count
        query.save if !browser.bot?
        if count > 1
          lines << link_to(:show_consensus_list_of_species.t(name: genus.display_name.t),
            add_query_param({controller: "name", action: "index_name"},
              query)) + " (#{count})"
        end
      end
  