Merge branch '3198-inode-cache' refs #3198
[arvados.git] / apps / workbench / app / views / collections / _show_source_summary.html.erb
index ba9e9dfb9fe628b4faf8dc318c19b6f7ab78b49b..3d8032b4c214d975395bb894cac3432543985d6f 100644 (file)
@@ -1,3 +1,7 @@
+<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 %>
     <% pipelines = PipelineInstance.filter([["components", "like", "%#{@object.uuid}%"]]).each do |pipeline| %>
       <% pipeline.components.each do |cname, c| %>
         <% if c[:output_uuid] == @object.uuid %>
-          <b><%= cname %></b> component of pipeline <b><%= link_to_if_arvados_object(pipeline, friendly_name: true) %></b>
+          <b><%= cname %></b> component of <b><%= link_to_if_arvados_object(pipeline, friendly_name: true) %></b>
           <% if c.andand[:job].andand[:finished_at] %>
-            <b>finished at <%= c[:job][:finished_at] %></b>
+            finished at <%= render_localized_date(c[:job][:finished_at]) %>
           <% end %>
+          <br>
         <% end %>
       <% end %>
     <% end %>