<%= check_box_tag 'uuids[]', c.uuid, false, :class => 'persistent-selection' %>
|
<%= link_to_if_arvados_object c.uuid %>
|
<% i = 0 %>
<% while i < 3 and i < c.files.length %>
<% file = c.files[i] %>
<% file_path = "#{file[0]}/#{file[1]}" %>
<%= link_to file[1], {controller: 'collections', action: 'show_file', uuid: c.uuid, file: file_path, size: file[2], disposition: 'inline'}, {title: 'View in browser'} %>
<% i += 1 %>
<% end %>
<% if i < c.files.length %>
⋮
<% end %>
|
<%= link_to_if_arvados_object c.owner_uuid, friendly_name: true %> |
<%= 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] %>
2×
<% elsif @collection_info[c.uuid][:wanted] %>
2×
<% else %>
cache
<% end %>
|
<% end %>