3114: Merge branch 'master' into 3114-copy-to-project
[arvados.git] / apps / workbench / app / views / collections / _show_source_summary.html.erb
1 <% if not (@output_of.andand.any? or @log_of.andand.any?) %>
2   <p><i>No source information available.</i></p>
3 <% end %>
4
5 <% if @output_of.andand.any? %>
6   <p><i>This collection was the output of:</i><br />
7     <%= render_arvados_object_list_start(@output_of, 'Show all jobs',
8                                          jobs_path(filters: [['output', '=', @object.uuid]].to_json)) do |job| %>
9       <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
10     <% end %>
11   </p>
12 <% end %>
13
14 <% if @log_of.andand.any? %>
15   <p><i>This collection contains log messages from:</i><br />
16     <%= render_arvados_object_list_start(@log_of, 'Show all jobs',
17                                          jobs_path(filters: [['log', '=', @object.uuid]].to_json)) do |job| %>
18       <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
19     <% end %>
20   </p>
21 <% end %>