<% @collections.each do |c| %> <%= link_to_if_arvados_object c.uuid %> <% c.files.each do |file| %> <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %> <% end %> <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about ','~').sub(' ',' ')) if c.created_at %> <% if @collection_info[c.uuid] %> <%= @collection_info[c.uuid][:tags].uniq.join ', ' %> <% end %> <% if @collection_info[c.uuid][:wanted_by_me] %> <% elsif @collection_info[c.uuid][:wanted] %> <% else %> cache <% end %> <% end %>