Merge pull request #1108 from ZmagoD/zd_SCI_2313

fix file preview [SCI-2313]
This commit is contained in:
Zmago Devetak 2018-04-20 10:38:23 +02:00 committed by GitHub
commit 645e9a19d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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' %>