20690: Remove workbench1 and testing/packaging references.
[arvados.git] / 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
deleted file mode 100644 (file)
index 398742e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<p><i>Content size:</i><br />
-  <%= pluralize(@object.manifest.files_count, "file") %> totalling
-  <%= raw(human_readable_bytes_html(@object.manifest.files_size)) %></p>
-
-<% if not (@output_of.andand.any? or @log_of.andand.any?) %>
-  <p><i>No source information available.</i></p>
-<% end %>
-
-<% if @output_of.andand.any? %>
-  <% pipelines = PipelineInstance.limit(5).filter([["components", "like", "%#{@object.uuid}%"]]) %>
-  <%
-    message = "This collection was the output of the following:"
-    if pipelines.items_available > pipelines.results.size
-      message += ' (' + (pipelines.items_available - pipelines.results.size).to_s + ' more results are not shown)'
-    end
-  %>
-  <p><i><%= message %></i><br />
-    <% pipelines.each do |pipeline| %>
-      <% pipeline.components.each do |cname, c| %>
-        <% if c[:output_uuid] == @object.uuid %>
-          <b><%= cname %></b> component of <b><%= link_to_if_arvados_object(pipeline, friendly_name: true) %></b>
-          <% if c.andand[:job].andand[:finished_at] %>
-            finished at <%= render_localized_date(c[:job][:finished_at]) %>
-          <% end %>
-          <br>
-        <% end %>
-      <% end %>
-    <% end %>
-  </p>
-<% end %>
-
-<% if @log_of.andand.any? %>
-  <p><i>This collection contains log messages from:</i><br />
-    <%= render_arvados_object_list_start(@log_of, 'Show all jobs',
-                                         jobs_path(filters: [['log', '=', @object.portable_data_hash]].to_json)) do |job| %>
-      <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
-    <% end %>
-  </p>
-<% end %>