X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cdd94fae8d40ad6dcee3de5d36de2d89921fd12d..d4c8504da527f1a984ecd1ed0da7147010f38b6e:/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..c1336b76d3 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,12 @@ <% 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 pipeline <%= link_to_if_arvados_object(pipeline, friendly_name: true) %> finished at <%= c[:job][:finished_at] %>
+ <% end %>
+ <% end %>
<% end %>