- <%= link_to_if_arvados_object obj, friendly_name: true %>
- <td>
- <%= obj.created_at.to_s if obj.created_at %>
- <td>
- <%= obj.trash_at.to_s if obj.trash_at %>
- </td>
- <td>
- <% i = 0 %>
- <% while i < 3 and i < obj.files.length %>
- <% file = obj.files[i] %>
- <% file_path = "#{file[0]}/#{file[1]}" %>
- <%= link_to file[1], {controller: 'collections', action: 'show_file', uuid: obj.uuid, file: file_path, size: file[2], disposition: 'inline'}, {title: 'View in browser'} %><br />
- <% i += 1 %>