mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
Merge pull request #1108 from ZmagoD/zd_SCI_2313
fix file preview [SCI-2313]
This commit is contained in:
commit
645e9a19d8
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<% if asset.file_present %>
|
<% if asset.file_present %>
|
||||||
<% if asset.file.processing? %>
|
<% if asset.file.processing? && display_image_tag %>
|
||||||
<span data-status='asset-loading'
|
<span data-status='asset-loading'
|
||||||
data-present-url='<%= file_present_asset_path(asset.id) %>'>
|
data-present-url='<%= file_present_asset_path(asset.id) %>'>
|
||||||
<%= image_tag 'medium/processing.gif' %>
|
<%= image_tag 'medium/processing.gif' %>
|
||||||
|
|
Loading…
Reference in a new issue