From cdf1e60f63ea1bbe819d91ca8f1e3be8c71f247e Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 20 Oct 2009 00:24:22 +0200 Subject: more asset details --- app/views/assets/show.html.erb | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/app/views/assets/show.html.erb b/app/views/assets/show.html.erb index dd657d3..a64987c 100644 --- a/app/views/assets/show.html.erb +++ b/app/views/assets/show.html.erb @@ -3,8 +3,21 @@ <%= link_to 'Back', assets_path %> <% end %> - - -<%= image_tag @asset.upload.url(:medium) %>
-<%= @asset.upload.content_type %>
-<%= "#{@asset.upload.size/1024} KB" %>
\ No newline at end of file + + + + + + + + + + + + + + + + + +
Thumbnail<%= image_tag @asset.upload.url(:medium) %>
Public Path<%= @asset.upload.url.sub(/\?\d+$/, "") %>
Content Type<%= @asset.upload.content_type %>
Size<%= "#{@asset.upload.size/1024} KB" %>
\ No newline at end of file -- cgit v1.3