scinote-web/app/views/shared/_file_preview_icon.html.erb
2019-07-01 23:30:20 +02:00

8 lines
204 B
Text

<div>
<% if asset.previewable? %>
<%= image_tag(asset.large_preview) %>
<% else %>
<i class="fas fa-10x <%= file_fa_icon_class(asset) %>"></i>
<% end %>
<h3 class="file-name"></h3>
</div>