From c50b9b55b8404be0427e3f62c74d391d3c8f14a3 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 5 Feb 2013 15:09:37 -0500 Subject: [PATCH 1/1] add Files pane on Collections#show --- app/views/collections/show.html.erb | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/app/views/collections/show.html.erb b/app/views/collections/show.html.erb index 5e83bca8c5..e55002cbea 100644 --- a/app/views/collections/show.html.erb +++ b/app/views/collections/show.html.erb @@ -15,13 +15,31 @@ <%= render :partial => 'nav' %>
-
+
+ + + + + <% if @object then @object.files.each do |file| %> + + + + <% end; end %> + +
size (bytes)filename
+ <%= raw(human_readable_bytes_html(file[2])) %> + + <%= file[0] %>/<%= file[1] %> +
+
+
-- 2.30.2