1 <% if @object.uuid.match /[0-9a-f]{32}/ %>
2 <p>Found in collections:<p>
4 <% cols = Collection.filter([["portable_data_hash", "=", @object.portable_data_hash]]).each do |c| %>
5 <%= link_to_if_arvados_object c.owner_uuid, {:friendly_name => true} %> / <%= link_to_if_arvados_object c, {:friendly_name => true} %><br>
10 <% if not (@output_of.andand.any? or @log_of.andand.any?) %>
11 <p><i>No source information available.</i></p>
14 <% if @output_of.andand.any? %>
15 <p><i>This collection was the output of:</i><br />
16 <%= render_arvados_object_list_start(@output_of, 'Show all jobs',
17 jobs_path(filters: [['output', '=', @object.uuid]].to_json)) do |job| %>
18 <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
23 <% if @log_of.andand.any? %>
24 <p><i>This collection contains log messages from:</i><br />
25 <%= render_arvados_object_list_start(@log_of, 'Show all jobs',
26 jobs_path(filters: [['log', '=', @object.uuid]].to_json)) do |job| %>
27 <%= link_to_if_arvados_object(job, friendly_name: true) %><br />