X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/47042547e7873d63f764e85ace085a8da314afd3..b1d1c5acf6f237d5e2a02414dd59e92cdb862237:/apps/workbench/app/views/collections/_show_source_summary.html.erb diff --git a/apps/workbench/app/views/collections/_show_source_summary.html.erb b/apps/workbench/app/views/collections/_show_source_summary.html.erb index e3f29952ff..592e802fa1 100644 --- a/apps/workbench/app/views/collections/_show_source_summary.html.erb +++ b/apps/workbench/app/views/collections/_show_source_summary.html.erb @@ -4,9 +4,16 @@ <% if @output_of.andand.any? %>
This collection was the output of:
- <%= render_arvados_object_list_start(@output_of, 'Show all jobs',
- jobs_path(filters: [['output', '=', @object.uuid]].to_json)) do |job| %>
- <%= link_to_if_arvados_object(job, friendly_name: true) %>
+ <% pipelines = PipelineInstance.filter([["components", "like", "%#{@object.uuid}%"]]).each do |pipeline| %>
+ <% pipeline.components.each do |cname, c| %>
+ <% if c[:output_uuid] == @object.uuid %>
+ <%= cname %> component of <%= link_to_if_arvados_object(pipeline, friendly_name: true) %>
+ <% if c.andand[:job].andand[:finished_at] %>
+ finished at <%= render_localized_date(c[:job][:finished_at]) %>
+ <% end %>
+
+ <% end %>
+ <% end %>
<% end %>