app/helpers/taxa_helper.rb
# entries can be an array of class types HierarchyEntry and UserDataObject and could be dirty
# i.e. entry.vetted and entry.visibility might be overrides from e.g. DataObjectHierarchyEntry
entries can be an array of class types HierarchyEntry and UserDataObject and could be dirty
i.e.
entries can be an array of class types HierarchyEntry and UserDataObject and could be dirty i . e .
def collect_names_and_status(entries)
    return entries.collect do |entry|
      unless entry.class == UsersDataObject
        taxon_link = link_to raw(entry.title_canonical_italicized), taxon_overview_path(entry.taxon_concept)
      else
        taxon_link = link_to raw(entry.taxon_concept.entry.title_canonical_italicized), taxon_overview_path(entry.taxon_concept)
      end
      "#{taxon_link} <span class='flag #{vetted_id_class(entry.vetted_id)}'>#{entry.vetted.curation_label}</span>"
    end
  end
def collect_names_and_status ( entries ) return entries . collect do | entry | unless entry . class == UsersDataObject taxon_link = link_to raw ( entry . title_canonical_italicized ) , taxon_overview_path ( entry . taxon_concept ) else taxon_link = link_to raw ( entry . taxon_concept . entry . title_canonical_italicized ) , taxon_overview_path ( entry . taxon_concept ) end "#{taxon_link} <span class='flag #{vetted_id_class(entry.vetted_id)}'>#{entry.vetted.curation_label}</span>" end end
entries can be an array of class types HierarchyEntry and UserDataObject and could be dirty
i.e.
entries can be an array of class types HierarchyEntry and UserDataObject and could be dirty i . e .
entries
<not_specific>