%# # @file # this code generates the list of icons in the filter by metacode box in the upper right menu area #%> <% @mappers = [] @synapses = [] @metacodes = [] @metacodelist = '' @mapperlist = '' @synapselist = '' @map.topics.each_with_index do |topic, index| if @metacodes.index(topic.metacode_id) == nil @metacodes.push(topic.metacode_id) @metacodelist += '
' + topic.metacode.name.downcase + '
' + synapse.name.downcase + '