fix file preview [SCI-2313]

This commit is contained in:
zmagod 2018-04-20 09:29:08 +02:00
parent 487fb1fb48
commit 2a5c4daa9d

View file

@ -1,5 +1,5 @@
<% if asset.file_present %>
<% if asset.file.processing? %>
<% if asset.file.processing? && display_image_tag %>
<span data-status='asset-loading'
data-present-url='<%= file_present_asset_path(asset.id) %>'>
<%= image_tag 'medium/processing.gif' %>