app/views/georgia/media/edit.html.erb in georgia-0.7.7 vs app/views/georgia/media/edit.html.erb in georgia-0.7.8
- old
+ new
@@ -6,11 +6,11 @@
<div class="row">
<div class="col-md-9">
<h2>
- <%= link_to @asset.data_file_name, @asset.url %>
+ <%= link_to @asset.filename, @asset.url %>
<% unless @asset.is_a?(Ckeditor::Picture) %>
<%= link_to icon_tag('link'), @asset.url, title: @asset.url, target: '_blank', class: 'btn btn-default' %>
<% end -%>
</h2>
@@ -23,21 +23,21 @@
<span class='btn-file-upload-text'><%= icon_tag 'refresh' %> Replace</span>
<%= f.input_field :data, as: :file, class: 'input-file-upload js-replace-asset' %>
</span>
<% end -%>
</div>
- <%= image_tag @asset.url(:content), title: @asset.data_file_name, class: 'media-image--inline' %>
+ <%= image_tag @asset.url(:content), title: @asset.filename, class: 'media-image--inline' %>
</div>
<% end -%>
</div>
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Information</h3>
</div>
<div class="panel-body">
<p>
- <b>File Name</b>: <%= @asset.data_file_name %><br />
+ <b>File Name</b>: <%= @asset.filename %><br />
<b>Content Type</b>: <%= @asset.data_content_type %><br />
<% if @asset.is_a?(Ckeditor::Picture) %>
<b>File Size</b>: <%= number_to_human_size(@asset.data_file_size) %><br />
<b>Width</b>: <%= @asset.width %>px<br />
<b>Height</b>: <%= @asset.height %>px<br />
\ No newline at end of file