app/views/cms/file_blocks/render.html.erb in browsercms-3.5.0.rc3 vs app/views/cms/file_blocks/render.html.erb in browsercms-3.5.0
- old
+ new
@@ -1,5 +1,5 @@
<div id="file_block_<%= @content_block.id %>" class="file_block">
<%= image_tag "cms/icons/file_types/#{@content_block.file.icon}.png", :alt=>@content_block.file.icon %>
<%= link_to @content_block.name, attachment_path_for(@content_block.file) %>
- <%= @content_block.file.data_file_size.round_bytes %>
+ <%= @content_block.file_size %>
</div>