1 <p><i>Content size:</i><br />
2 <%= pluralize(@object.manifest.files_count, "file") %> totalling
3 <%= raw(human_readable_bytes_html(@object.manifest.files_size)) %></p>
5 <% if not (@output_of.andand.any? or @log_of.andand.any?) %>
6 <p><i>No source information available.</i></p>
9 <% if @output_of.andand.any? %>
10 <% pipelines = PipelineInstance.limit(5).filter([["components", "like", "%#{@object.uuid}%"]]) %>
12 message = "This collection was the output of the following:"
13 if pipelines.items_available > pipelines.results.size
14 message += ' (' + (pipelines.items_available - pipelines.results.size).to_s + ' more results are not shown)'
17 <p><i><%= message %></i><br />
18 <% pipelines.each do |pipeline| %>
19 <% pipeline.components.each do |cname, c| %>
20 <% if c[:output_uuid] == @object.uuid %>
21 <b><%= cname %></b> component of <b><%= link_to_if_arvados_object(pipeline, friendly_name: true) %></b>
22 <% if c.andand[:job].andand[:finished_at] %>
23 finished at <%= render_localized_date(c[:job][:finished_at]) %>
32 <% if @log_of.andand.any? %>
33 <p><i>This collection contains log messages from:</i><br />
34 <%= render_arvados_object_list_start(@log_of, 'Show all jobs',
35 jobs_path(filters: [['log', '=', @object.portable_data_hash]].to_json)) do |job| %>
36 <%= link_to_if_arvados_object(job, friendly_name: true) %><br />