Merge branch 'master' into 5493-getting-started-modal
[arvados.git] / apps / workbench / app / views / collections / _show_source_summary.html.erb
index 51f9348450219e2e6ead5f0eec3dbd673fe59ebd..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 %>
@@ -9,8 +13,7 @@
         <% 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 <span class="utc-date"
-                                 data-utc-date="<%= c[:job][:finished_at] %>"><%= c[:job][:finished_at] %></span>
+            finished at <%= render_localized_date(c[:job][:finished_at]) %>
           <% end %>
           <br>
         <% end %>