app/views/backend/articles/images/index.html.erb in udongo-7.6.2 vs app/views/backend/articles/images/index.html.erb in udongo-7.7.0
- old
+ new
@@ -24,10 +24,10 @@
<% a = img.asset %>
<tr data-update-position="<%= update_position_backend_article_image_path(@article, img) %>">
<td>
<%= image_tag a.image.url(150, 150), alt: '', class: 'img-fluid' %>
</td>
- <td><%= a.actual_filename.split('.').last.upcase %></td>
+ <td><%= a.extension.upcase %></td>
<td><%= number_to_human_size a.filesize %></td>
<td><%= simple_format a.description %></td>
<td><%= l a.updated_at %></td>
<td class="text-right">
<%= link_to icon(:trash), unlink_backend_images_path(klass: @article.class.name, id: @article.id, asset_id: a.id), data: { confirm: t('b.msg.confirm') }, title: t('b.delete') %>