lib/eve/javascript_helper.rb
def link_to_info(text, type_id, item_id = nil, *args)
      function = "CCPEVE.showInfo(#{type_id.inspect}"
      function.concat ", #{item_id.inspect}" if item_id
      function.concat ")"
      link_to_function text, function, *args
    end
def link_to_info(text, type_id, item_id = nil, *args)
      function = "CCPEVE.showInfo(#{type_id.inspect}"
      function.concat ", #{item_id.inspect}" if item_id
      function.concat ")"
      link_to_function text, function, *args
    end
Creates a hyperlink that results in the "show info" dialog being displayed on the client's screen.
 If item_id is given, the show info window will open for that item.

  type_id (Number)
    Type ID of item to show info on.
  item_id (Number)
    Optional item ID of specific item of type type_id to show info on. This is required for specific types of
    items, such as solar systems, stations, regions, and constellations.