scinote-web/app/views/shared/_file_preview_icon.html.erb

9 lines
204 B
Text
Raw Normal View History

2018-03-30 17:50:28 +08:00
<div>
<% if asset.previewable? %>
2019-06-28 14:17:09 +08:00
<%= image_tag(asset.large_preview) %>
<% else %>
<i class="fas fa-10x <%= file_fa_icon_class(asset) %>"></i>
<% end %>
2018-03-30 17:50:28 +08:00
<h3 class="file-name"></h3>
</div>