1 <% @collections.each do |c| %>
3 <tr class="collection">
5 <%= link_to_if_arvados_object c.uuid %>
7 <% c.files.each do |file| %>
8 <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %>
11 <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about ','~').sub(' ',' ')) if c.created_at %>
13 <% if @collection_info[c.uuid] %>
14 <%= @collection_info[c.uuid][:tags].uniq.join ', ' %>
17 <% if @collection_info[c.uuid][:wanted_by_me] %>
18 <span class="label label-info">2×</span>
19 <% elsif @collection_info[c.uuid][:wanted] %>
20 <span class="label">2×</span>
22 <span class="label">cache</span>